Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Name Location Type Deprecation Direct uses Namespaced usessort ascending Overrides Use statements
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
Database::findDriverAutoloadDirectory core/lib/Drupal/Core/Database/Database.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use DatabaseDriverList::getList() instead. 2
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
TestRequirementsTrait::checkModuleRequirements core/tests/Drupal/Tests/TestRequirementsTrait.php function in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement. 1
Inspector::assertTraversable core/lib/Drupal/Component/Assertion/Inspector.php function in drupal:10.3.0 and is removed from drupal:11.0.0. Use is_iterable() instead. 1
Diff::reverse 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
Diff::lcs 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
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
Cache::keyFromQuery core/lib/Drupal/Core/Cache/Cache.php function in drupal:10.1.0 and is removed from drupal:11.0.0. No replacement provided. 1
Log::findCaller core/lib/Drupal/Core/Database/Log.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use Connection::findCallerFromDebugBacktrace(). 1
Log::removeDatabaseEntries core/lib/Drupal/Core/Database/Log.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use Connection::removeDatabaseEntriesFromDebugBacktrace(). 1
Log::getDebugBacktrace core/lib/Drupal/Core/Database/Log.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
TestSetupTrait::getDatabaseConnection core/lib/Drupal/Core/Test/TestSetupTrait.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
file_validate core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 2
file_validate_name_length core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 1
file_validate_extensions core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 2
file_validate_size core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 1
file_validate_is_image core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 1
file_validate_image_resolution core/modules/file/file.module function in drupal:10.2.0 and is removed from drupal:11.0.0. Use the 'file.validator' service instead. 1
file_progress_implementation core/modules/file/file.module function in drupal:10.3.0 and is removed from drupal:11.0.0. Use extension_loaded('uploadprogress') instead.
file_icon_class core/modules/file/file.module function in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\file\IconMimeTypes::getIconClass() 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.
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.

Pages

Other projects