Deprecated - 10.3.x - drupal

Primary tabs

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

in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement beyond loading the roles and calling \Drupal\user\Entity\Role::getPermissions().

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
views_ui_truncate core/modules/views_ui/views_ui.module

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Component\Utility\Unicode::truncate().

function 1
watchdog_exception core/includes/bootstrap.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use Use \Drupal\Core\Utility\Error::logException() instead.

function 1
WorkspaceAssociationInterface::postPublish core/modules/workspaces/src/WorkspaceAssociationInterface.php

in drupal:10.1.0 and is removed from drupal:11.0.0. Use the \Drupal\workspaces\Event\WorkspacePostPublishEvent event instead.

function
WorkspaceFormInterface core/modules/workspaces/src/Form/WorkspaceFormInterface.php

in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\Core\Form\WorkspaceSafeFormInterface or \Drupal\Core\Form\WorkspaceDynamicSafeFormInterface instead.

interface
WorkspaceManagerInterface::getSupportedEntityTypes core/modules/workspaces/src/WorkspaceManagerInterface.php

in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\workspaces\WorkspaceInformation::getSupportedEntityTypes instead.

function
WorkspaceManagerInterface::isEntityTypeSupported core/modules/workspaces/src/WorkspaceManagerInterface.php

in drupal:10.3.0 and is removed from drupal:11.0.0. Use \Drupal\workspaces\WorkspaceInformation::isEntityTypeSupported instead.

function
WorkspaceManagerInterface::shouldAlterOperations core/modules/workspaces/src/WorkspaceManagerInterface.php

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

function
Yaml::getSerializer core/lib/Drupal/Component/Serialization/Yaml.php

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

function
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
_drupal_flush_css_js core/includes/common.inc

in drupal:10.2.0 and is removed from drupal:11.0.0. Use Use \Drupal\Core\Asset\AssetQueryStringInterface::reset() instead.

function 1
_drupal_rewrite_settings_dump core/includes/install.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_dump() may also be removed in a minor release.

function
_drupal_rewrite_settings_dump_one core/includes/install.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_dump_one() may also be removed in a minor release.

function 1
_drupal_rewrite_settings_global core/includes/install.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_global() may also be removed in a minor release.

function
_drupal_rewrite_settings_is_array_index core/includes/install.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_is_array_index() may also be removed in a minor release.

function
_drupal_rewrite_settings_is_simple core/includes/install.inc

in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. As internal API, _drupal_rewrite_settings_is_simple() may also be removed in a minor release.

function
_user_role_permissions_update core/modules/user/user.module

in drupal:10.1.0 and is removed from drupal:11.0.0. There is no replacement.

function 1

Other projects


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