Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Name Location Type Deprecation Direct usessort ascending Namespaced uses Overrides Use statements
Database::RETURN_AFFECTED core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement. 9
Database::RETURN_INSERT_ID core/lib/Drupal/Core/Database/Database.php constant in drupal:9.4.0 and is removed from drupal:11.0.0. There is no replacement. 5
theme_render_and_autoescape core/includes/theme.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. Theme engines must handle escaping by themselves. 4
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
TrustedCallbackInterface::TRIGGER_WARNING core/lib/Drupal/Core/Security/TrustedCallbackInterface.php constant in drupal:10.3.0 and is removed from drupal:11.0.0. Use TrustedCallbackInterface::THROW_EXCEPTION or TrustedCallbackInterface::TRIGGER_SILENCED_DEPRECATION instead. 2
deprecation_test_function core/modules/system/tests/modules/deprecation_test/deprecation_test.module function in drupal:8.4.0 and is removed from drupal:9.0.0. This is the deprecation message for deprecated_test_function(). 2
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
_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_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
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_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
theme_get_registry core/includes/theme.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use theme.registry service methods get() or getRuntime() instead. 1
drupal_theme_rebuild core/includes/theme.inc function in drupal:10.1.0 and is removed from drupal:11.0.0. Use theme.registry service reset() method instead. 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();
_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.
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_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.
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
UnitTestSuite core/tests/TestSuites/UnitTestSuite.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.
DrupalKernel::$serviceIdMapping core/lib/Drupal/Core/DrupalKernel.php property in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead.
DrupalKernel::generateServiceIdHash core/lib/Drupal/Core/DrupalKernel.php function in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead.
DrupalKernel::collectServiceIdMapping core/lib/Drupal/Core/DrupalKernel.php function in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead. 1
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
Url::toRenderArray core/lib/Drupal/Core/Url.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Url::renderAccess core/lib/Drupal/Core/Url.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
MigrateExecutable::formatSize core/modules/migrate/src/MigrateExecutable.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\StringTranslation\ByteSizeMarkup::create($size, $langcode) instead.
MigrateSkipProcessException core/modules/migrate/src/MigrateSkipProcessException.php class in drupal:10.3.0 and is removed from drupal:12.0.0. Return FALSE from a process plugin's isPipelineStopped() method to stop further processing on a pipeline. 1
MachineNameController core/modules/system/src/MachineNameController.php class in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement. 1

Pages

Other projects