Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
AssertBlockAppearsTrait::findBlockInstance core/modules/block/tests/src/Functional/AssertBlockAppearsTrait.php function in drupal:9.5.0 and is removed from drupal:11.0.0. There is no replacement.
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
AssignOwnerNode core/modules/node/src/Plugin/Action/AssignOwnerNode.php class in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\action\Plugin\Action\AssignOwnerNode instead. 1
BlockContentController::blockContentTypeRedirect core/modules/block_content/src/Controller/BlockContentController.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use /admin/structure/block-content directly instead of /admin/structure/block/block-content/types.
BlockContentController::blockLibraryRedirect core/modules/block_content/src/Controller/BlockContentController.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use /admin/content/block directly instead of /admin/structure/block/block-content.
BlockContentController::editRedirect core/modules/block_content/src/Controller/BlockContentController.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use /admin/content/block/{block_content} directly instead of /block/{block_content}.
BookTestTrait::generateOutlinePattern core/modules/book/tests/src/Functional/BookTestTrait.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use methods from \Drupal\Tests\WebAssert 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.
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
CacheDecoratorInterface core/lib/Drupal/Core/CacheDecorator/CacheDecoratorInterface.php interface in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
CategorizingPluginManagerTrait::getModuleHandler core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php function in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.
ConfigEvents::COLLECTION_INFO core/lib/Drupal/Core/Config/ConfigEvents.php constant in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Config\ConfigCollectionEvents::COLLECTION_INFO instead.
Connection core/lib/Drupal/Core/Database/Driver/mysql/Connection.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
Connection core/lib/Drupal/Core/Database/Driver/pgsql/Connection.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
Connection core/lib/Drupal/Core/Database/Driver/sqlite/Connection.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
Connection core/modules/system/tests/modules/database_statement_monitoring_test/src/mysql/Connection.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Connection core/modules/system/tests/modules/database_statement_monitoring_test/src/pgsql/Connection.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Connection core/modules/system/tests/modules/database_statement_monitoring_test/src/sqlite/Connection.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
Connection::$needsCleanup core/modules/mysql/src/Driver/Database/mysql/Connection.php property in drupal:10.2.0 and is removed from drupal:11.0.0. There's no replacement.
Connection::$willRollback core/modules/sqlite/src/Driver/Database/sqlite/Connection.php property in drupal:10.2.0 and is removed from drupal:11.0.0. It is unused.
ContainerInterface::generateServiceIdHash core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php function in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead.
ContainerInterface::getServiceIdMappings core/lib/Drupal/Component/DependencyInjection/ContainerInterface.php function in drupal:9.5.1 and is removed from drupal:11.0.0. Use the 'Drupal\Component\DependencyInjection\ReverseContainer' service instead.
ContextProvidersPass core/lib/Drupal/Core/DependencyInjection/Compiler/ContextProvidersPass.php class in drupal:10.2.0 and is removed from drupal:11.0.0. The context.repository service uses the service_id_collector pattern instead so this is no longer needed.
CssCollectionOptimizer core/lib/Drupal/Core/Asset/CssCollectionOptimizer.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Instead, use \Drupal\Core\Asset\CssCollectionOptimizerLazy. 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
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
Database::RETURN_NULL 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.
Database::RETURN_STATEMENT 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.
Datetime::formatExample core/lib/Drupal/Core/Datetime/Element/Datetime.php function in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
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
Delete core/lib/Drupal/Core/Database/Driver/pgsql/Delete.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
DependencySerializationTraitPass core/lib/Drupal/Core/DependencyInjection/Compiler/DependencySerializationTraitPass.php class in drupal:9.5.0 and is removed from drupal:11.0.0. The _serviceId property is no longer part of the container. Use \Drupal\Core\DrupalKernelInterface::getServiceIdMapping() instead.
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
Diff::check 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.
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
Diff::isEmpty 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.
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::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
DiffOp::nclosing 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.
DiffOp::norig 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.
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
DiffOpAdd::reverse core/lib/Drupal/Component/Diff/Engine/DiffOpAdd.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
DiffOpChange::reverse core/lib/Drupal/Component/Diff/Engine/DiffOpChange.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
DiffOpCopy::reverse core/lib/Drupal/Component/Diff/Engine/DiffOpCopy.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
DiffOpDelete::reverse core/lib/Drupal/Component/Diff/Engine/DiffOpDelete.php function in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
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::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
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.

Pages

Other projects