Deprecated - 11.x - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
ThemeExtensionList::getBaseThemes core/lib/Drupal/Core/Extension/ThemeExtensionList.php

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

function
ThemeHandlerInterface::getBaseThemes core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php

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

function 1
ThemeHandlerInterface::rebuildThemeData core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal::service('extension.list.theme')->reset()->getList() instead.

function 1
TourTipPluginInterface core/modules/tour/src/TourTipPluginInterface.php

in drupal:10.1.0 and is removed from drupal:11.0.0. Implements TipPluginInterface instead.

interface 1
TranslationWrapper core/lib/Drupal/Core/StringTranslation/TranslationWrapper.php

in drupal:8.0.0 and is removed from drupal:11.0.0. Use the \Drupal\Core\StringTranslation\TranslatableMarkup class instead.

class 1
UnitTestSuite core/tests/TestSuites/UnitTestSuite.php

in drupal:10.3.0 and is removed from drupal:11.0.0. There is no replacement and test discovery will be handled differently in PHPUnit 10.

class
UpdateManagerAccessCheck core/modules/update/src/Access/UpdateManagerAccessCheck.php

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

class
UpdaterInterface::postInstall core/lib/Drupal/Core/Updater/UpdaterInterface.php

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

function
UserAuthenticationController::userIsBlocked core/modules/user/src/Controller/UserAuthenticationController.php

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

function
user_is_blocked core/modules/user/user.module

in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead.

function 1
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
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

Other projects


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