Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
locale_translation_get_status core/modules/locale/locale.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->loadSources() instead.

function
locale_translation_http_check core/modules/locale/locale.batch.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class)checkRemoteFileStatus($uri) instead.

function
locale_translation_load_sources core/modules/locale/locale.translation.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class) ->loadSources($projects, $langcodes) instead.

function
locale_translation_project_list core/modules/locale/locale.compare.inc

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

function
locale_translation_source_build core/modules/locale/locale.translation.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class) ->sourceBuild($project, $langcode, $filename) instead.

function
locale_translation_source_check_file core/modules/locale/locale.translation.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->sourceCheckFile($source) instead.

function
LOCALE_TRANSLATION_SOURCE_COMPARE_EQ core/modules/locale/locale.translation.inc

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

constant
LOCALE_TRANSLATION_SOURCE_COMPARE_GT core/modules/locale/locale.translation.inc

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

constant
LOCALE_TRANSLATION_SOURCE_COMPARE_LT core/modules/locale/locale.translation.inc

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

constant
locale_translation_status_delete_languages core/modules/locale/locale.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->deleteSourcesByLanguage() instead.

function
locale_translation_status_delete_projects core/modules/locale/locale.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->deleteSources() instead.

function
locale_translation_status_save core/modules/locale/locale.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->saveSource() instead.

function
locale_translation_update_file_history core/modules/locale/locale.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(CurrentImportStorage::class)->save() instead.

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

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

class
media_filter_format_edit_form_validate core/modules/media/media.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use MediaHooks::formatEditFormValidate() instead.

function
menu_ui_form_node_form_submit core/modules/menu_ui/menu_ui.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\menu_ui\Hooks\MenuUiHooks::formNodeFormSubmit() instead.

function
menu_ui_form_node_type_form_builder core/modules/menu_ui/menu_ui.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\menu_ui\Hooks\MenuUiHooks::formNodeTypeFormBuilder() instead.

function
menu_ui_form_node_type_form_validate core/modules/menu_ui/menu_ui.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\menu_ui\Hooks\MenuUiHooks::formNodeTypeFormValidate() instead.

function
menu_ui_get_menu_link_defaults core/modules/menu_ui/menu_ui.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\menu_ui\MenuUiUtility::getMenuLinkDefaults() instead.

function
menu_ui_node_builder core/modules/menu_ui/menu_ui.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\menu_ui\Hooks\MenuUiHooks::nodeBuilder() instead.

function
MigrateEntityComplete core/modules/migrate/src/Plugin/Derivative/MigrateEntityComplete.php

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

class 1
MigrateFieldPluginManager core/modules/migrate_drupal/src/Plugin/MigrateFieldPluginManager.php

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

class 1 3
MigrateSkipProcessException core/modules/migrate/src/MigrateSkipProcessException.php

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.

class 1
ModuleHandlerInterface::loadAllIncludes core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php

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

function 1
node.admin.inc core/modules/node/node.admin.inc

in drupal:11.3.0 and is removed from drupal:12.0.0. Functions have been deprecated.

file
NodeSearch core/modules/node/src/Plugin/Search/NodeSearch.php

in drupal:11.4.0 and is removed from drupal:12.0.0. Instead, use \Drupal\search_node\Plugin\Search\SearchNode.

class
NodeStorageInterface::countDefaultLanguageRevisions core/modules/node/src/NodeStorageInterface.php

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

function 1
NodeStorageInterface::revisionIds core/modules/node/src/NodeStorageInterface.php

in drupal:11.3.0 and is removed from drupal:13.0.0. Use an entity query instead.

function 1
NodeStorageInterface::userRevisionIds core/modules/node/src/NodeStorageInterface.php

in drupal:11.3.0 and is removed from drupal:13.0.0. Use an entity query instead.

function 1
NodeUpdate7008 core/modules/node/src/Plugin/migrate/process/d6/NodeUpdate7008.php

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

class
NodeViewController core/modules/node/src/Controller/NodeViewController.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Entity\Controller\EntityViewController instead.

class
node_access_grants core/modules/node/node.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('Drupal\node\NodeGrantsHelper')->nodeAccessGrants() instead.

function
node_access_needs_rebuild core/modules/node/node.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('\Drupal\node\NodeAccessRebuild')->setNeedsRebuild() and \Drupal::service('\Drupal\node\NodeAccessRebuild')->needsRebuild() instead.

function
node_access_rebuild core/modules/node/node.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('\Drupal\node\NodeAccessRebuild')->rebuild($batch_mode) instead.

function
node_get_type_label core/modules/node/node.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use $node->getBundleEntity()->label() instead.

function
node_is_page core/modules/node/node.module

in drupal:11.3.0 and is removed from drupal:13.0.0. There is no replacement, check the view mode instead during rendering.

function
node_mass_update core/modules/node/node.admin.inc

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\node\NodeBulkUpdate::class)->process() instead.

function
node_mass_update core/modules/node/node.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(\Drupal\node\NodeBulkUpdate::class)->process() instead.

function
node_type_get_names core/modules/node/node.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('entity_type.bundle.info')->getBundleLabels('node') instead.

function
OverridesSectionStorage::hasIntegerId core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php

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

function
PathSetTranslated core/modules/path/src/Plugin/migrate/process/PathSetTranslated.php

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

class 1
ProcessField core/modules/field/src/Plugin/migrate/process/ProcessField.php

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

class 1
ProfileFieldOptionTranslation core/modules/user/src/Plugin/migrate/process/d6/ProfileFieldOptionTranslation.php

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

class
ProfileFieldSettings core/modules/user/src/Plugin/migrate/process/ProfileFieldSettings.php

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

class
RecipeRunner::installModule core/lib/Drupal/Core/Recipe/RecipeRunner.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Recipe\RecipeRunner::installModules() instead.

function
REGIONS_ALL core/modules/system/system.module

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

constant 1
REGIONS_VISIBLE core/modules/system/system.module

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

constant 2
RenderElement core/lib/Drupal/Core/Render/Element/RenderElement.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Render\Element\RenderElementBase instead.

class 1 1
responsive_image_get_image_dimensions core/modules/responsive_image/responsive_image.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\responsive_image\ResponsiveImageBuilder::getImageDimensions() instead.

function
responsive_image_get_mime_type core/modules/responsive_image/responsive_image.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\responsive_image\ResponsiveImageBuilder::getMimeType() instead.

function

Other projects


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