Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Name Location Type Deprecation Direct uses Namespaced uses Overridessort ascending Use statements
EntityStorageInterface::loadRevision core/lib/Drupal/Core/Entity/EntityStorageInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead. 4
EntityStorageInterface::deleteRevision core/lib/Drupal/Core/Entity/EntityStorageInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead. 4
DiffOp::reverse core/lib/Drupal/Component/Diff/Engine/DiffOp.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 4
PhpStorageInterface::writeable core/lib/Drupal/Component/PhpStorage/PhpStorageInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 2
AssetCollectionOptimizerInterface::getAll core/lib/Drupal/Core/Asset/AssetCollectionOptimizerInterface.php function in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement. 2
DrupalKernelInterface::getServiceIdMapping core/lib/Drupal/Core/DrupalKernelInterface.php function in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead. 1
TermStorageInterface::deleteTermHierarchy core/modules/taxonomy/src/TermStorageInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Parent references are automatically cleared when deleting a taxonomy term. 1
TermStorageInterface::updateTermHierarchy core/modules/taxonomy/src/TermStorageInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Parent references are automatically updated when updating a taxonomy term. 1
Diff::orig core/lib/Drupal/Component/Diff/Diff.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1 1
Diff::closing core/lib/Drupal/Component/Diff/Diff.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1 1
UploadedFileInterface::isValid core/modules/file/src/Upload/UploadedFileInterface.php function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\file\Validation\UploadedFileValidatorInterface::validate() instead. 1
UploadedFileInterface::getErrorMessage core/modules/file/src/Upload/UploadedFileInterface.php function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\file\Validation\UploadedFileValidatorInterface::validate() instead. 1
UploadedFileInterface::getError core/modules/file/src/Upload/UploadedFileInterface.php function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\file\Validation\UploadedFileValidatorInterface::validate() instead. 1
MigrationInterface::isTrackLastImported core/modules/migrate/src/Plugin/MigrationInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
MigrationInterface::setTrackLastImported core/modules/migrate/src/Plugin/MigrationInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
MigrationInterface::getTrackLastImported core/modules/migrate/src/Plugin/MigrationInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
Sql::getMigrationPluginManager core/modules/migrate/src/Plugin/migrate/id_map/Sql.php function in drupal:9.5.0 and is removed from drupal:11.0.0. Use $this->migrationPluginManager instead. 1 1
REQUEST_TIME core/includes/bootstrap.inc constant in drupal:8.3.0 and is removed from drupal:11.0.0. Use \Drupal::time()->getRequestTime();
watchdog_exception core/includes/bootstrap.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use Use \Drupal\Core\Utility\Error::logException() instead. 1
format_size core/includes/common.inc function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\StringTranslation\ByteSizeMarkup::create($size, $langcode) instead. 3
_drupal_flush_css_js core/includes/common.inc function in drupal:10.2.0 and is removed from drupal:11.0.0. Use Use \Drupal\Core\Asset\AssetQueryStringInterface::reset() instead. 1
drupal_detect_database_types core/includes/install.inc function in drupal:10.2.0 and is removed from drupal:11.0.0. Use DatabaseDriverList::getList() instead. 1
drupal_get_database_types core/includes/install.inc function in drupal:10.2.0 and is removed from drupal:11.0.0. Use DatabaseDriverList::getList() instead. 1
drupal_rewrite_settings core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. Note $settings_file argument becomes required and the first argument of the method. 1
_drupal_rewrite_settings_is_simple core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_is_simple() may also be removed in a minor release.
_drupal_rewrite_settings_is_array_index core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_is_array_index() may also be removed in a minor release.
_drupal_rewrite_settings_global core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_global() may also be removed in a minor release.
_drupal_rewrite_settings_dump core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_dump() may also be removed in a minor release.
_drupal_rewrite_settings_dump_one core/includes/install.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_dump_one() may also be removed in a minor release. 1
db_installer_object core/includes/install.inc function in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement. 1
module_load_include core/includes/module.inc function in drupal:9.4.0 and is removed from drupal:11.0.0. Use \Drupal::moduleHandler()->loadInclude($module, $type, $name = NULL). Note that including code from uninstalled extensions is no longer supported. 1
hook_file_validate core/modules/file/file.api.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead.
node_type_update_nodes core/modules/node/node.module function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\EntityStorageInterface::updateType instead.
node_revision_load core/modules/node/node.module function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::loadRevision instead.
node_revision_delete core/modules/node/node.module function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\RevisionableStorageInterface::deleteRevision instead.
node_get_recent core/modules/node/node.module function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal::entityQuery() instead.
shortcut_current_displayed_set core/modules/shortcut/shortcut.module function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\shortcut\ShortcutSetStorageInterface::getDisplayedToUser() instead.
shortcut_default_set core/modules/shortcut/shortcut.module function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\shortcut\ShortcutSetStorageInterface::getDefaultSet() instead.
user_validate_name core/modules/user/user.module function in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\user\UserValidator::validateName() instead. 1
user_role_permissions core/modules/user/user.module function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling \Drupal\user\Entity\Role::getPermissions(). 1
_user_role_permissions_update core/modules/user/user.module function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
user_is_blocked core/modules/user/user.module function in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead.
user_role_names core/modules/user/user.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\user\Entity\Role::loadMultiple() and, if necessary, an inline implementation instead.
user_roles core/modules/user/user.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\user\Entity\Role::loadMultiple() and, if necessary, an inline implementation instead. 1
views_ui_truncate core/modules/views_ui/views_ui.module function in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Component\Utility\Unicode::truncate(). 1
BuildTestSuite core/tests/TestSuites/BuildTestSuite.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10.
FunctionalJavascriptTestSuite core/tests/TestSuites/FunctionalJavascriptTestSuite.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10.
FunctionalTestSuite core/tests/TestSuites/FunctionalTestSuite.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10.
KernelTestSuite core/tests/TestSuites/KernelTestSuite.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10.
TestSuiteBase core/tests/TestSuites/TestSuiteBase.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10. 6 1

Pages

Other projects