Deprecated - 11.x - drupal

Primary tabs

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

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

cspell:ignore whitelist

function
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 4
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 3 1
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
AssertContentTrait::assertFieldById core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertFieldChecked core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoDuplicateIds core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoField core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoFieldById core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoFieldByName core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoFieldByXPath core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function 3
AssertContentTrait::assertNoFieldChecked core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoLinkByHref core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoLinkByHrefInMainRegion core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoOption core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoOptionSelected core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertNoUniqueText core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertOptionByText core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertOptionSelected core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertOptionSelectedWithDrupalSelector core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertTextPattern core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertUniqueText core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function
AssertContentTrait::assertUniqueTextHelper core/tests/Drupal/KernelTests/AssertContentTrait.php

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

function 2
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
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
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
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
BrowserTestBase::getOptions core/tests/Drupal/Tests/BrowserTestBase.php

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

function
CacheBackendInterface::invalidateAll core/lib/Drupal/Core/Cache/CacheBackendInterface.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Use CacheBackendInterface::deleteAll() or cache tag invalidation instead.

function 8

Other projects


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