Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
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
TransactionManagerBase::commitAll core/lib/Drupal/Core/Database/Transaction/TransactionManagerBase.php

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

function
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
UserSearch core/modules/user/src/Plugin/Search/UserSearch.php

in drupal:11.5.0 and is removed from drupal:12.0.0. Instead, use \Drupal\search_user\Plugin\Search\SearchUser.

class
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
user_mail_tokens core/modules/user/user.module

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

function
user_pass_rehash core/modules/user/user.module

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

function 1
user_pass_reset_url core/modules/user/user.module

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

function 1
Views::handlerManager core/modules/views/src/Views.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('plugin.manager.views.{type}') for specific types or \Drupal::service('views.plugin_managers')->get($type) for dynamic.

function 1
Views::pluginManager core/modules/views/src/Views.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('plugin.manager.views.{type}') for specific types or \Drupal::service('views.plugin_managers')->get($type) for dynamic.

function 1
views_add_contextual_links core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use Drupal\views\ContextualLinksHelper::addLinks() instead.

function
views_disable_view core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use $view->disable()->save() instead.

function
views_element_validate_tags core/modules/views/views.module

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

function
views_embed_view core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use '#type' => 'view' render elements instead.

function 1
views_enable_view core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use $view->enable()->save() instead.

function
views_get_current_view core/modules/views/views.module

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

function
views_get_view_result core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use Views::getViewResult($name, $display_id, ...$args) instead.

function
views_set_current_view core/modules/views/views.module

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

function
views_ui_add_ajax_trigger core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the protected method \Drupal\views\ViewsFormAjaxHelperTrait::addAjaxTrigger().

function
views_ui_add_ajax_wrapper core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the addAjaxWrapper() method.

function
views_ui_add_limited_validation core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the addLimitedValidation() method.

function
views_ui_ajax_update_form core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the ajaxUpdateForm() method.

function
views_ui_build_form_url core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the buildFormUrl() method.

function
views_ui_contextual_links_suppress core/modules/views_ui/views_ui.module

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

function
views_ui_contextual_links_suppress_pop core/modules/views_ui/views_ui.module

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

function
views_ui_contextual_links_suppress_push core/modules/views_ui/views_ui.module

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

function
views_ui_form_button_was_clicked core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the formButtonWasClicked() method.

function
views_ui_nojs_submit core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no replacement for this function. Form classes can use the \Drupal\views\ViewsFormAjaxHelperTrait trait and call the noJsSubmit() method.

function
views_ui_standard_display_dropdown core/modules/views_ui/admin.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. There is no public replacement for this function. Form classes can use the \Drupal\views\ViewsFormHelperTrait trait and call the standardDisplayDropdown() method.

function
views_ui_view_preview_section_display_category_links core/modules/views_ui/views_ui.module

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

function
views_ui_view_preview_section_handler_links core/modules/views_ui/views_ui.module

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

function 1
views_ui_view_preview_section_rows_links core/modules/views_ui/views_ui.module

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

function
views_view_is_disabled core/modules/views/views.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use !$view->status() instead.

function

Other projects


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