Deprecated - main - 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
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
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
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
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
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
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
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
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
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
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
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
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
contact_form_user_admin_settings_submit core/modules/contact/contact.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::userAdminSettingsSubmit instead.

function
contact_user_profile_form_submit core/modules/contact/contact.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\contact\Hook\ContactFormHooks::profileFormSubmit() instead.

function
ContentEntity core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php

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

This plugin uses the Entity API to export entity data. If the source entity type has custom field storage fields or computed fields, this class will need to be extended and the new class will need to load/calculate the values for those fields.

Available configuration keys:

  • entity_type: The entity type ID of the entities being exported. This is calculated dynamically by the deriver so it is only needed if the deriver is not utilized, i.e., a custom source plugin.
  • bundle: (optional) If the entity type is bundleable, only return entities of this bundle.
  • include_translations: (optional) Indicates if the entity translations should be included, defaults to TRUE.
  • add_revision_id: (optional) Indicates if the revision key is added to the source IDs, defaults to TRUE.

Examples:

This will return the default revision for all nodes, from every bundle and every translation. The revision key is added to the source IDs.

class
ContentEntityDeriver core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntityDeriver.php

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

class
ContentTranslationEnabledSetting core/modules/language/src/Plugin/migrate/process/ContentTranslationEnabledSetting.php

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

class

Other projects


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