Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
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:12.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
language_process_language_select core/modules/language/language.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\language\Hook\LanguageHooks::processLanguageSelect() instead.

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_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_system_file_system_settings_submit core/modules/locale/locale.module

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

function
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_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
locale_translate_batch_refresh core/modules/locale/locale.bulk.inc

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

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class) ->deleteTranslationFiles($projects, $langcodes) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use LocaleFile::createFromPath($filename, $uri, $langCodeOverride) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use LocaleFile instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class) ->getInterfaceTranslationFiles($projects, $langcodes) instead.

function
locale_translation_batch_fetch_build core/modules/locale/locale.fetch.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFetch::class) ->buildFetchBatch($projects, $langcodes, $options) instead.

function
locale_translation_batch_fetch_download core/modules/locale/locale.batch.inc

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

function
locale_translation_batch_fetch_finished core/modules/locale/locale.batch.inc

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

function
locale_translation_batch_fetch_import core/modules/locale/locale.batch.inc

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

function
locale_translation_batch_status_build core/modules/locale/locale.compare.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleProjectChecker::class)->triggerBatch() instead, this now calls batch_set immediately instead of returning the array.

function
locale_translation_batch_status_check core/modules/locale/locale.batch.inc

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

function
locale_translation_batch_status_finished core/modules/locale/locale.batch.inc

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

function
locale_translation_batch_update_build core/modules/locale/locale.fetch.inc

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFetch::class) ->buildUpdateBatch($projects, $langcodes, $options) instead.

function
locale_translation_batch_version_check core/modules/locale/locale.batch.inc

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

function
locale_translation_build_projects core/modules/locale/locale.compare.inc

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

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

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

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

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

function
locale_translation_check_projects core/modules/locale/locale.compare.inc

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

function

Other projects


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