Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
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
Module::getSchemaUpdates core/lib/Drupal/Core/Updater/Module.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Update\UpdateHookRegistry::getAvailableUpdates() instead.
ModuleHandlerInterface::getName core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php function in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.module')->getName($module) instead.
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
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.
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_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_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.
PhpassHashedPassword core/lib/Drupal/Core/Password/PhpassHashedPassword.php class in drupal:10.1.0 and is removed from drupal:11.0.0. The password compatibility service has been moved to the phpass module. Use \Drupal\phpass\Password\PhpassHashedPassword instead. 1
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
PluginHelper core/lib/Drupal/Component/Plugin/PluginHelper.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, use instanceof() to check for \Drupal\Component\Plugin\ConfigurableInterface. 1
Psr7RequestValueResolver::supports core/lib/Drupal/Core/Controller/ArgumentResolver/Psr7RequestValueResolver.php function in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
RandomGeneratorTrait::randomStringValidate core/tests/Drupal/Tests/RandomGeneratorTrait.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\TestTools\Random::stringValidate() instead.
RecursiveExtensionFilterIterator core/lib/Drupal/Core/Extension/Discovery/RecursiveExtensionFilterIterator.php class in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Extension\Discovery\RecursiveExtensionFilterCallback instead. 1
RenderElement core/lib/Drupal/Core/Render/Element/RenderElement.php class in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Render\Element\RenderElementBase instead. 1 1
RendererInterface::renderPlain core/lib/Drupal/Core/Render/RendererInterface.php function in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Render\RendererInterface::renderInIsolation() instead.
RequestStack core/lib/Drupal/Core/Http/RequestStack.php class in drupal:10.0.0 and is removed from drupal:11.0.0. There is no replacement. 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();
RouteMatchValueResolver::supports core/lib/Drupal/Core/Controller/ArgumentResolver/RouteMatchValueResolver.php function in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
Router::addDeprecatedRouteEnhancer core/lib/Drupal/Core/Routing/Router.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use route_enhancer instead.
Router::addDeprecatedRouteFilter core/lib/Drupal/Core/Routing/Router.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use route_filter instead.
Schema core/lib/Drupal/Core/Database/Driver/mysql/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
Schema core/lib/Drupal/Core/Database/Driver/pgsql/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Schema core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
ScrollTopCommand core/modules/views/src/Ajax/ScrollTopCommand.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Ajax\ScrollTopCommand
Select core/lib/Drupal/Core/Database/Driver/pgsql/Select.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Select core/lib/Drupal/Core/Database/Driver/sqlite/Select.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
ServiceIdHashTrait core/lib/Drupal/Component/DependencyInjection/ServiceIdHashTrait.php trait in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead. 1
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.
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
Statement core/lib/Drupal/Core/Database/Driver/sqlite/Statement.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
StatementPrefetch core/lib/Drupal/Core/Database/StatementPrefetch.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Database\StatementPrefetchIterator instead.
StatementWrapper core/lib/Drupal/Core/Database/StatementWrapper.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Database\StatementWrapperIterator instead. 1
Tasks core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module. 1
Tasks core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module. 1
Tasks core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php class in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module. 1
Tasks core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Install/Tasks.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Tasks core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Install/Tasks.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Tasks core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Install/Tasks.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
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
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
TestRequirementsTrait::checkRequirements core/tests/Drupal/Tests/TestRequirementsTrait.php function in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement.
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
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
ThemeExtensionList::getBaseThemes core/lib/Drupal/Core/Extension/ThemeExtensionList.php function in drupal:10.3.0 and is removed from drupal:12.0.0. There is no direct replacement.
ThemeHandlerInterface::getBaseThemes core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php function in drupal:10.3.0 and is removed from drupal:12.0.0. There is no direct replacement.
ThemeHandlerInterface::rebuildThemeData core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php function in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.theme')->reset()->getList() instead.

Pages

Other projects