Deprecated - main - drupal

Primary tabs

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\image\ImageStyleInterface::TOKEN instead.

constant
image_path_flush core/modules/image/image.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ImageDerivativeUtilities::pathFlush() instead.

function
image_style_options core/modules/image/image.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use ImageDerivativeUtilities::styleOptions() instead.

function
InstallerExistingConfigTestBase core/tests/Drupal/FunctionalTests/Installer/InstallerExistingConfigTestBase.php

in drupal:10.4.0 and is removed from drupal:12.0.0. Use \Drupal\FunctionalTests\Installer\InstallerConfigDirectoryTestBase instead.

class
InstallerModuleExtensionList core/lib/Drupal/Core/Installer/InstallerModuleExtensionList.php

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Extension\ModuleExtensionList instead.

class
InstallerRouteBuilder core/lib/Drupal/Core/Installer/InstallerRouteBuilder.php

in drupal:11.4.0 and is removed from drupal:12.0.0. No replacement provided.

class
InstallerThemeExtensionList core/lib/Drupal/Core/Installer/InstallerThemeExtensionList.php

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal\Core\Extension\ThemeExtensionList instead.

class
JSONAPI_FILTER_AMONG_ALL core/modules/jsonapi/jsonapi.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\jsonapi\JsonApiFilter::AMONG_ALL instead.

constant
JSONAPI_FILTER_AMONG_ENABLED core/modules/jsonapi/jsonapi.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\jsonapi\JsonApiFilter::AMONG_ENABLED instead.

constant
JSONAPI_FILTER_AMONG_OWN core/modules/jsonapi/jsonapi.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\jsonapi\JsonApiFilter::AMONG_OWN instead.

constant
JSONAPI_FILTER_AMONG_PUBLISHED core/modules/jsonapi/jsonapi.module

in drupal:11.3.0 and is removed from drupal:13.0.0. Use \Drupal\jsonapi\JsonApiFilter::AMONG_PUBLISHED instead.

constant
LanguageDomains core/modules/language/src/Plugin/migrate/process/LanguageDomains.php

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

class 1
LanguageNegotiation core/modules/language/src/Plugin/migrate/process/LanguageNegotiation.php

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

class 1
LanguageTypes core/modules/language/src/Plugin/migrate/process/LanguageTypes.php

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

class 1
language_configuration_element_submit core/modules/language/language.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\language\Element\LanguageConfiguration::submit() instead.

function
language_get_browser_drupal_langcode_mappings core/modules/language/language.module

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

function
language_get_default_langcode core/modules/language/language.module

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

function 1
language_negotiation_url_prefixes_update core/modules/language/language.module

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

function
LibraryDiscovery core/lib/Drupal/Core/Asset/LibraryDiscovery.php

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Asset\LibraryDiscoveryCollector instead.

class
LinkOptions core/modules/menu_link_content/src/Plugin/migrate/process/LinkOptions.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\migrate\Plugin\migrate\process\LinkOptions instead.

Examples:

class
LinkUri core/modules/menu_link_content/src/Plugin/migrate/process/LinkUri.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\migrate\Plugin\migrate\process\LinkUri instead.

Converts the source path value to an 'entity:', 'internal:' or 'base:' URI.

Available configuration keys:

  • source: A source path to be converted into an URI.
  • validate_route: (optional) Whether the plugin should validate that the URI derived from the source link path has a valid Drupal route.

    • TRUE: Throw a MigrateException if the resulting URI is not routed. This value is the default.
    • FALSE: Return the URI for the unrouted path.

Examples:

class 1
ListingEmpty core/modules/block_content/src/Plugin/views/area/ListingEmpty.php

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

class
LocaleProjectStorage core/modules/locale/src/LocaleProjectStorage.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\locale\LocaleProjectRepository instead.

class 1
LocaleProjectStorageInterface core/modules/locale/src/LocaleProjectStorageInterface.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal\locale\LocaleProjectRepository instead.

interface 1
LocaleSource::buildSources core/modules/locale/src/LocaleSource.php

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->buildSource($project, $langcodes) instead.

function
locale_config_batch_build core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleConfigBatch::class)->buildBatch() instead the arguments have changed.

function
locale_config_batch_finished core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleConfigBatch::class)->batchFinished() instead.

function
locale_config_batch_update_components core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleConfigBatch::class)->buildBatch() instead.

function
locale_config_batch_update_config_translations core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleConfigBatch::class)->batchUpdateConfigTranslations() instead.

function
locale_config_batch_update_default_config_langcodes core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleConfigBatch::class)->batchUpdateDefaultConfigLangcodes() instead.

function
locale_cron_fill_queue core/modules/locale/locale.translation.inc

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

function
LOCALE_CUSTOMIZED core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use LocaleDefaultOptions::CUSTOMIZED instead.

constant
locale_form_language_admin_add_form_alter_submit core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFormHooks::class) ->formLanguageAdminAddFormAlterSubmit() instead.

function
locale_form_language_admin_edit_form_alter_submit core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFormHooks::class) ->formLanguageAdminEditFormAlterSubmit() instead.

function
locale_get_plural core/modules/locale/locale.module

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

function 1
locale_is_translatable core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleLanguages::class)->isTranslatable() instead.

function
LOCALE_JS_OBJECT core/modules/locale/locale.module

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

constant
LOCALE_JS_OBJECT_CONTEXT core/modules/locale/locale.module

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

constant
LOCALE_JS_STRING core/modules/locale/locale.module

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

constant
locale_js_translate core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleJs::class)->jsTranslate() instead.

function
LOCALE_NOT_CUSTOMIZED core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use LocaleDefaultOptions::NOT_CUSTOMIZED instead.

constant
locale_string_is_safe core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use LocaleXss::stringIsSafe() instead.

function 1
locale_system_remove core/modules/locale/locale.module

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

function
locale_system_set_config_langcodes core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service('locale.config_manager')->updateDefaultConfigLangcodes() instead.

function
locale_system_update core/modules/locale/locale.module

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

function
locale_translatable_language_list core/modules/locale/locale.module

in drupal:11.5.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleLanguages::class)->getTranslatableLanguages() instead.

function
locale_translate_batch_build core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleImportBatch::class)->buildBatch() instead.

function
locale_translate_batch_finished core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleImportBatch::class)->batchFinished() instead.

function
locale_translate_batch_import core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleImportBatch::class)->batchImport() instead.

function
locale_translate_batch_import_save core/modules/locale/locale.bulk.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleImportBatch::class)->batchSave() instead.

function

Other projects


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