Deprecated - 9.5.x - drupal

Primary tabs

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

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityQuery('taxonomy_vocabulary')->execute() instead.

function 1
taxonomy_vocabulary_static_reset core/modules/taxonomy/taxonomy.module

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal::entityTypeManager()->getStorage('taxonomy_vocabulary')->resetCache($ids) instead.

function 1
Term core/modules/taxonomy/src/Plugin/views/argument_validator/Term.php

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\views\Plugin\views\argument_validator\Entity instead.

class
TipPluginBase::$attributes core/modules/tour/src/TipPluginBase.php

in drupal:9.2.0 and is removed from drupal:10.0.0. There is no direct replacement. Note that this was never actually used.

property
TipPluginInterface::getAttributes core/modules/tour/src/TipPluginInterface.php

in drupal:9.2.0 and is removed from drupal:10.0.0. The attributes property is no longer used.

function 1
TipPluginInterface::getOutput core/modules/tour/src/TipPluginInterface.php

in drupal:9.2.0 and is removed from drupal:10.0.0. Use getBody() instead, and do not include the tip label in the returned output.

function 1
ToolkitTestBase core/tests/Drupal/FunctionalTests/Image/ToolkitTestBase.php

in drupal:9.1.0 and is removed from drupal:10.0.0. There is no replacement provided as functional test base class because toolkit operations should be tested as kernel tests. ToolkitTestTrait trait has been added to provide a similar functionality for toolkit kernel tests.

class
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
Truncate core/lib/Drupal/Core/Database/Driver/sqlite/Truncate.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module.

class 1
Truncate core/lib/Drupal/Core/Database/Driver/pgsql/Truncate.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.

class 1
UiHelperTrait::drupalPostForm core/tests/Drupal/Tests/UiHelperTrait.php

in drupal:9.1.0 and is removed from drupal:10.0.0. Use $this->submitForm() instead.

function 1
Unicode::mimeHeaderDecode core/lib/Drupal/Component/Utility/Unicode.php

in drupal:9.2.0 and is removed from drupal:10.0.0. Use iconv_mime_decode() instead.

function 1
Unicode::mimeHeaderEncode core/lib/Drupal/Component/Utility/Unicode.php

in drupal:9.2.0 and is removed from drupal:10.0.0. Use \Symfony\Component\Mime\Header\UnstructuredHeader instead.

function 2
UnitTestCase::assertArrayEquals core/tests/Drupal/Tests/UnitTestCase.php

in drupal:9.1.0 and is removed from drupal:10.0.0. Use ::assertEquals, ::assertEqualsCanonicalizing, or ::assertSame instead.

function 1
Update core/lib/Drupal/Core/Database/Driver/pgsql/Update.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.

class 1
UpdateRegistry::filterOutInvokedUpdatesByModule core/lib/Drupal/Core/Update/UpdateRegistry.php

in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateRegistry::filterOutInvokedUpdatesByExtension() instead.

function
UpdateRegistry::getModuleUpdateFunctions core/lib/Drupal/Core/Update/UpdateRegistry.php

in drupal:9.4.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Update\UpdateRegistry::getUpdateFunctions() instead.

function
update_check_incompatibility core/includes/update.inc

in drupal:9.1.0 and is removed from drupal:10.0.0. No direct replacement is provided.

function 1
update_set_schema core/includes/update.inc

in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.

function 1
Upsert core/lib/Drupal/Core/Database/Driver/sqlite/Upsert.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The SQLite database driver has been moved to the sqlite module.

class 1
Upsert core/lib/Drupal/Core/Database/Driver/mysql/Upsert.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The MySQL database driver has been moved to the mysql module.

class 1
Upsert core/lib/Drupal/Core/Database/Driver/pgsql/Upsert.php

in drupal:9.4.0 and is removed from drupal:11.0.0. The PostgreSQL database driver has been moved to the pgsql module.

class 1
UrlAliasLanguage core/modules/path/src/Plugin/migrate/process/d6/UrlAliasLanguage.php

in drupal:9.3.0 and is removed from drupal:10.0.0. No direct replacement is provided.

class 1
user_password core/modules/user/user.module

in drupal:9.1.0 and is removed from drupal:10.0.0. Use \Drupal\Core\Password\PasswordGeneratorInterface::generate() instead.

function 1
ViewsConfigUpdater::needsEntityLinkUrlUpdate core/modules/views/src/ViewsConfigUpdater.php

in drupal:9.0.0 and is removed from drupal:10.0.0. Module-provided Views configuration should be updated to accommodate the changes described below.

function
ViewsConfigUpdater::needsMultivalueBaseFieldUpdate core/modules/views/src/ViewsConfigUpdater.php

in drupal:9.0.0 and is removed from drupal:10.0.0. Module-provided Views configuration should be updated to accommodate the changes described below.

function
ViewsConfigUpdater::needsOperatorDefaultsUpdate core/modules/views/src/ViewsConfigUpdater.php

in drupal:9.0.0 and is removed from drupal:10.0.0. Module-provided Views configuration should be updated to accommodate the changes described below.

function
ZfExtensionManagerSfContainer core/lib/Drupal/Component/Bridge/ZfExtensionManagerSfContainer.php

in drupal:9.4.0 and is removed from drupal:10.0.0. The class has moved to \Drupal\aggregator\ZfExtensionManagerSfContainer.

class 1
_drupal_schema_initialize core/includes/schema.inc

in drupal:9.2.0 and is removed from drupal:10.0.0. No direct replacement is provided.

function 3
_file_save_upload_single core/modules/file/file.module

in drupal:9.3.0 and is removed from drupal:10.0.0. Use \Drupal\file\Upload\FileUploadHandler::handleFileUpload() instead.

function 1
_views_file_status core/modules/file/file.module

in drupal:9.3.0 and is removed from drupal:10.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.