Primary tabs

Examples: "before Drupal 9", "in Drupal 8.4"
Namesort descending Location Type Deprecation Direct uses Namespaced uses Overrides Use statements
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.
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
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_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
EditorImageDialog core/modules/editor/src/Form/EditorImageDialog.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 2
EditorLinkDialog core/modules/editor/src/Form/EditorLinkDialog.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 1
EditorMediaDialog core/modules/media/src/Form/EditorMediaDialog.php class in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 2
EntityCacheTagsTestBase::createCacheId core/modules/system/tests/src/Functional/Entity/EntityCacheTagsTestBase.php function in drupal:10.2.0 and is removed from drupal:11.0.0. There is no replacement.
EntityReferenceTestTrait core/modules/field/tests/src/Traits/EntityReferenceTestTrait.php trait in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Tests\field\Traits\EntityReferenceFieldCreationTrait instead.
EntityRepositoryInterface::CONTEXT_ID_LEGACY_CONTEXT_OPERATION core/lib/Drupal/Core/Entity/EntityRepositoryInterface.php constant in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.
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
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
EntityTranslationRenderTrait::getEntityTranslation core/modules/views/src/Entity/Render/EntityTranslationRenderTrait.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\views\Entity\Render\EntityTranslationRenderTrait::getEntityTranslationByRelationship instead.
EntityViewController::viewRevision core/lib/Drupal/Core/Entity/Controller/EntityViewController.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Entity\Controller\EntityRevisionViewController instead.
ExceptionHandler core/lib/Drupal/Core/Database/Driver/mysql/ExceptionHandler.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
ExternalCommandRequirementsTrait core/tests/Drupal/BuildTests/Framework/ExternalCommandRequirementsTrait.php trait in drupal:10.2.0 and is removed from drupal:11.0.0. Use Drupal\\TestTools\\Extension\\RequiresComposerTrait instead. 1
FileSystemInterface::EXISTS_ERROR core/lib/Drupal/Core/File/FileSystemInterface.php constant in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Error instead.
FileSystemInterface::EXISTS_RENAME core/lib/Drupal/Core/File/FileSystemInterface.php constant in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Rename instead.
FileSystemInterface::EXISTS_REPLACE core/lib/Drupal/Core/File/FileSystemInterface.php constant in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Replace instead.
FormAjaxSubscriber::formatSize core/lib/Drupal/Core/Form/EventSubscriber/FormAjaxSubscriber.php function in drupal:10.2.0 and is removed from drupal:11.0.0. Use \Drupal\Core\StringTranslation\ByteSizeMarkup::create() instead.
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
FormElement core/lib/Drupal/Core/Render/Element/FormElement.php class in drupal:10.3.0 and is removed from drupal:12.0.0. use \Drupal\Core\Render\Element\FormElementBase instead. 1 1
ForumVocabulary core/modules/taxonomy/src/Plugin/migrate/process/ForumVocabulary.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\forum\Plugin\migrate\process\ForumVocabulary instead.
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.
Handle core/lib/Drupal/Component/Assertion/Handle.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Use assert_options(ASSERT_EXCEPTION, TRUE).
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.
Insert core/lib/Drupal/Core/Database/Driver/mysql/Insert.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
Insert core/lib/Drupal/Core/Database/Driver/pgsql/Insert.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
Insert core/lib/Drupal/Core/Database/Driver/sqlite/Insert.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
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
JsCollectionOptimizer core/lib/Drupal/Core/Asset/JsCollectionOptimizer.php class in drupal:10.1.0 and is removed from drupal:11.0.0. Instead use \Drupal\Core\Asset\JsCollectionOptimizerLazy.
KernelDestructionSubscriber core/lib/Drupal/Core/EventSubscriber/KernelDestructionSubscriber.php class in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement.
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.
LinkGeneratorInterface::generateFromLink core/lib/Drupal/Core/Utility/LinkGeneratorInterface.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Utility\LinkGeneratorInterface::generate() instead.
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::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
Log::log core/lib/Drupal/Core/Database/Log.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use ::logFromEvent().
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
LoggedStatementsTrait core/modules/system/tests/modules/database_statement_monitoring_test/src/LoggedStatementsTrait.php trait in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement. 3
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
MetadataBubblingUrlGenerator::getRouteDebugMessage core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Use the route name instead.
MetadataBubblingUrlGenerator::supports core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php function in drupal:10.1.0 and is removed from drupal:11.0.0. Only string route names are supported.
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
Migration::$trackLastImported core/modules/migrate/src/Plugin/Migration.php property in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.
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

Pages

Other projects