Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
AliasManager::setCacheKey core/modules/path_alias/src/AliasManager.php

in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement.

function
AliasManager::writeCache core/modules/path_alias/src/AliasManager.php

in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement.

function
AliasWhitelist core/modules/path_alias/src/AliasWhitelist.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasPrefixList instead.

class
AliasWhitelistInterface core/modules/path_alias/src/AliasWhitelistInterface.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\path_alias\AliasPrefixListInterface instead.

interface
Archiver core/lib/Drupal/Core/Archiver/Attribute/Archiver.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class 3
Archiver core/lib/Drupal/Core/Archiver/Annotation/Archiver.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class
ArchiverException core/lib/Drupal/Core/Archiver/ArchiverException.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class
ArchiverInterface core/lib/Drupal/Core/Archiver/ArchiverInterface.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

interface 2
ArchiverManager core/lib/Drupal/Core/Archiver/ArchiverManager.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class
authorize-report.html.twig core/themes/stable9/templates/admin/authorize-report.html.twig

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site.

file
authorize-report.html.twig core/modules/system/templates/authorize-report.html.twig

in drupal:11.2.0 and is removed from drupal:12.0.0. There is no replacement. Use composer to manage the code for your site.

file
automated_cron_settings_submit core/modules/automated_cron/automated_cron.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use AutomatedCronHooks::automatedCronSettingsSubmit() instead.

function
BcRoute core/lib/Drupal/Core/Routing/BcRoute.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Use route aliases instead.

class
block-content-add-list.html.twig core/themes/stable9/templates/admin/block-content-add-list.html.twig

in drupal:11.3.0 and is removed from drupal:12.0.0. Use entity_add_list instead.

file
block-content-add-list.html.twig core/themes/claro/templates/block-content-add-list.html.twig

in drupal:11.3.0 and is removed from drupal:12.0.0. Use entity_add_list instead.

file
block-content-add-list.html.twig core/modules/block_content/templates/block-content-add-list.html.twig

in drupal:11.3.0 and is removed from drupal:12.0.0. Use entity_add_list instead.

file
BlockController::getVisibleRegionNames core/modules/block/src/Controller/BlockController.php

in drupal:11.4.0 and is removed from drupal:12.0.0. Use $this->themeHandler->getTheme()->listVisibleRegions() instead.

function 1
BlockDeleteForm::systemRegionList core/modules/block/src/Form/BlockDeleteForm.php

in drupal:11.4.0 and is removed from drupal:12.0.0. Use $this->themeHandler->getTheme()->listAllRegions() or $this->themeHandler->getTheme()->listVisibleRegions() instead.

function 2
BlockListBuilder::systemRegionList core/modules/block/src/BlockListBuilder.php

in drupal:11.4.0 and is removed from drupal:12.0.0. Use $this->themeHandler->getTheme()->listAllRegions() or $this->themeHandler->getTheme()->listVisibleRegions() instead.

function 1
BlockPluginId core/modules/block/src/Plugin/migrate/process/BlockPluginId.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class
BlockRegion core/modules/block/src/Plugin/migrate/process/BlockRegion.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class 1
BlockRepositoryInterface::REGIONS_ALL core/modules/block/src/BlockRepositoryInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Instead, use \Drupal\Core\Extension\Theme::listAllRegions().

constant
BlockRepositoryInterface::REGIONS_VISIBLE core/modules/block/src/BlockRepositoryInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Instead, use \Drupal\Core\Extension\Theme::listVisibleRegions().

constant
BlockSettings core/modules/block/src/Plugin/migrate/process/BlockSettings.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class 1
BlockTheme core/modules/block/src/Plugin/migrate/process/BlockTheme.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class
BlockVisibility core/modules/block/src/Plugin/migrate/process/BlockVisibility.php

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

class 1
block_content_add_body_field core/modules/block_content/block_content.module

in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement.

function
block_theme_initialize core/modules/block/block.module

in drupal:11.4.0 and is removed from drupal:13.0.0. No replacement is provided.

function
CachePluginBase::cacheExpire core/modules/views/src/Plugin/views/cache/CachePluginBase.php

in drupal:11.4.0 and is removed from drupal:13.0.0. No replacement is provided.

function 2
CachePluginBase::getRowCacheKeys core/modules/views/src/Plugin/views/cache/CachePluginBase.php

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

function
CachePluginBase::getRowId core/modules/views/src/Plugin/views/cache/CachePluginBase.php

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

function 1
ChildWithDeprecatedMethod::testMethod core/tests/Drupal/Tests/TestTools/ErrorHandler/DrupalDebugClassLoaderTest.php

in drupal:11.0.0 and is removed from drupal:12.0.0. Use something else instead.

function
ckeditor5_filter_format_edit_form_submit core/modules/ckeditor5/ckeditor5.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\ckeditor5\Hook\Ckeditor5Hooks::filterFormatEditFormSubmit() instead.

function
CommentInterface::ANONYMOUS_MAYNOT_CONTACT core/modules/comment/src/CommentInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\AnonymousContact::Forbidden instead.

constant
CommentInterface::ANONYMOUS_MAY_CONTACT core/modules/comment/src/CommentInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\AnonymousContact::Allowed instead.

constant
CommentInterface::ANONYMOUS_MUST_CONTACT core/modules/comment/src/CommentInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\AnonymousContact::Required instead.

constant
CommentItemInterface::CLOSED core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\CommentingStatus::Closed instead.

constant 1
CommentItemInterface::FORM_BELOW core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\FormLocation::Below instead.

constant
CommentItemInterface::FORM_SEPARATE_PAGE core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\FormLocation::SeparatePage instead.

constant
CommentItemInterface::HIDDEN core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\CommentingStatus::Hidden instead.

constant
CommentItemInterface::OPEN core/modules/comment/src/Plugin/Field/FieldType/CommentItemInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\comment\CommentingStatus::Open instead.

constant 1
CommentLazyBuilders::access core/modules/comment/src/CommentLazyBuilders.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the access() method of the content_translation.manager service instead.

function
CommentTypeForm::entityTypeSupportsComments core/modules/comment/src/CommentTypeForm.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Entity\EntityTypeInterface::hasIntegerId() instead.

function
Config core/modules/migrate_drupal/src/Plugin/migrate/source/d8/Config.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\migrate\Plugin\migrate\source\ConfigEntity instead.

Available configuration keys:

  • collections: (optional) The collection of configuration storage to retrieve from the source - can be a string or an array. If omitted, configuration objects of all available collections are retrieved.
  • names: (optional) Names of configuration objects to retrieve from the source - can be a string or an array. If omitted, all available configuration objects are retrieved.

Examples:

class 1
ConfigEntityBase::$trustedData core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

property
ConfigEntityInterface::trustData core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement.

function 2
Connection::addSavepoint core/modules/pgsql/src/Driver/Database/pgsql/Connection.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use TransactionManager to start a transaction then call ::commitOrRelease() or ::rollback() on it.

function 1
Connection::releaseSavepoint core/modules/pgsql/src/Driver/Database/pgsql/Connection.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use TransactionManager to start a transaction then call ::commitOrRelease() or ::rollback() on it.

function 1
Connection::rollbackSavepoint core/modules/pgsql/src/Driver/Database/pgsql/Connection.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use TransactionManager to start a transaction then call ::commitOrRelease() or ::rollback() on it.

function 1
Connection::$savepoints core/modules/pgsql/src/Driver/Database/pgsql/Connection.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use TransactionManager to start a transaction then call ::commitOrRelease() or ::rollback() on it.

property

Other projects


Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.