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
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
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
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
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
CachedDiscoveryClearer::addCachedDiscovery core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Pass the full set of services to the constructor instead.

function
CachedDiscoveryClearer::$legacyCachedDiscoveries core/lib/Drupal/Core/Plugin/CachedDiscoveryClearer.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Pass the full set of services to the constructor instead.

property
CategorizingPluginManagerTrait::getModuleHandler core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php

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

function
ChmodInterface core/lib/Drupal/Core/FileTransfer/ChmodInterface.php

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.

interface 3
claro_preprocess_block_content_add_list core/themes/claro/claro.theme

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

function
CommentController::renderNewCommentsNodeLinks core/modules/comment/src/Controller/CommentController.php

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\history\Controller\HistoryController::renderNewCommentsNodeLinks instead.

function
CommentManagerInterface::getCountNewComments core/modules/comment/src/CommentManagerInterface.php

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\history\HistoryManager::getCountNewComments instead.

function 1

Other projects


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