Deprecated - 11.x - drupal

Primary tabs

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

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\user\UserNameValidator::validateName() instead.

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

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('entity_field.manager')->getFieldLabels() instead.

function 3
views_field_default_views_data core/modules/views/views.module

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('views.field_data_provider') ->defaultFieldImplementation($field_storage); instead.

function 4
WebDriverCurlService core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php

in drupal:11.1.0 and is removed from drupal:12.0.0. There is no replacement, use the base class instead.

class
YamlSymfony core/lib/Drupal/Component/Serialization/YamlSymfony.php

in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\Component\Serialization\Yaml instead.

class 1
_views_field_get_entity_type_storage core/modules/views/views.module

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal::service('views.field_data_provider') ->getSqlStorageForField($field_storage); instead.

function 1

Other projects


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