Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
RolesLookup core/modules/block/src/Plugin/migrate/process/RolesLookup.php

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

class
RouteBuilder::getRouteDefinitions core/lib/Drupal/Core/Routing/RouteBuilder.php

in drupal:11.4.0 and is removed from drupal:12.0.0. This code has moved to \Drupal\Core\Routing\YamlRouteDiscovery.

function 1
RouteProvider::ROUTE_LOAD_CID_PREFIX core/lib/Drupal/Core/Routing/RouteProvider.php

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

constant
RouteProvider::$serializedRoutes core/lib/Drupal/Core/Routing/RouteProvider.php

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

property
SearchConfigurationRankings core/modules/search/src/Plugin/migrate/process/SearchConfigurationRankings.php

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

class
ServerCommand::getOneTimeLoginUrl core/lib/Drupal/Core/Command/ServerCommand.php

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

function
show core/includes/common.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. To show form elements, use ['#access'] = TRUE. For render elements, use ['#printed'] = FALSE.

function 1
SqlContentEntityStorage::loadFromSharedTables core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php

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

function
SyndicateBlock core/modules/node/src/Plugin/Block/SyndicateBlock.php

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

class
syslog_facility_list core/modules/syslog/syslog.module

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

function
syslog_logging_settings_submit core/modules/syslog/syslog.module

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

function
SystemUpdate7000 core/modules/system/src/Plugin/migrate/process/d6/SystemUpdate7000.php

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

class
system_check_directory core/modules/system/system.module

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

function
system_default_region core/modules/system/system.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('theme_handler')->getTheme()->getDefaultRegion() instead.

function 1
system_region_list core/modules/system/system.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('theme_handler')->getTheme()->listAllRegions() or \Drupal::service('theme_handler')->getTheme()->listVisibleRegions() instead.

function 1
system_sort_themes core/modules/system/system.module

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

function
Tar core/lib/Drupal/Core/Archiver/Tar.php

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

class 1 2
TargetBundle core/modules/taxonomy/src/Plugin/migrate/process/TargetBundle.php

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

class
taxonomy_build_node_index core/modules/taxonomy/taxonomy.module

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

function
taxonomy_delete_node_index core/modules/taxonomy/taxonomy.module

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

function
taxonomy_term_is_page core/modules/taxonomy/taxonomy.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
template_preprocess_field_ui_table core/modules/field_ui/field_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_link_formatter_link_separate core/modules/link/link.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_responsive_image core/modules/responsive_image/responsive_image.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_responsive_image_formatter core/modules/responsive_image/responsive_image.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_taxonomy_term core/modules/taxonomy/taxonomy.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service(TaxonomyThemeHooks::class)->preprocessTaxonomyTerm($variables) instead.

function
template_preprocess_top_bar core/modules/navigation/navigation.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_build_group_filter_form core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_display_tab_bucket core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_display_tab_setting core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_rearrange_filter_form core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_style_plugin_table core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_views_listing_table core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
template_preprocess_views_ui_view_preview_section core/modules/views_ui/views_ui.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Initial template_preprocess functions are registered directly in hook_theme().

function
TestFileParser core/lib/Drupal/Core/Test/RunTests/TestFileParser.php

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

class 1
TestRequirementsTrait core/tests/Drupal/Tests/TestRequirementsTrait.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\Tests\DrupalTestCaseTrait.

trait
TestRequirementsTrait::getDrupalRoot core/tests/Drupal/Tests/TestRequirementsTrait.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Access $this->root directly.

function
text_summary core/modules/text/text.module

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

function
ThemeSettings core/modules/system/src/Plugin/migrate/destination/d7/ThemeSettings.php

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

class 1
theme_get_setting core/includes/theme.inc

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal::service('Drupal\Core\Extension\ThemeSettingsProvider')->getSetting() instead.

function
ToStringTrait core/lib/Drupal/Component/Utility/ToStringTrait.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Implement the __toString() method directly, exception handling is no longer required.

trait
UserController::validatePathParameters core/modules/user/src/Controller/UserController.php

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\user\OneTimeAuthentication::verifyHmac() instead.

function
UserUpdate7002 core/modules/user/src/Plugin/migrate/process/d6/UserUpdate7002.php

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

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

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

class
user_cancel_url core/modules/user/user.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\user\OneTimeAuthentication::generateCancelConfirmUrl() instead.

function
user_cookie_delete core/modules/user/user.module

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

function
user_cookie_save core/modules/user/user.module

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

function
user_form_process_password_confirm core/modules/user/user.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use UserThemeHooks::processPasswordConfirm() instead.

function
user_load_by_mail core/modules/user/user.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::entityTypeManager()->getStorage('user')->loadByProperties() instead.

function
user_load_by_name core/modules/user/user.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::entityTypeManager()->getStorage('user')->loadByProperties() instead.

function 1

Other projects


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