Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
FileUri core/modules/file/src/Plugin/migrate/process/d6/FileUri.php

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

class 1
file_post_update_add_playsinline core/modules/file/file.post_update.php

in drupal:12.3.0 and is removed from drupal:13.0.0. This was rolled back due to a bug in the implementation and is now a no-op function and is kept only to prevent errors when updating.

function
FilterFormatPermission core/modules/filter/src/Plugin/migrate/process/d6/FilterFormatPermission.php

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

class 1
FilterID core/modules/filter/src/Plugin/migrate/process/FilterID.php

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

class 1
FilterSettings core/modules/filter/src/Plugin/migrate/process/FilterSettings.php

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

class 1
filter_default_format core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getDefaultFormat() method instead.

function
filter_fallback_format core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getFallbackFormatId() method instead.

function
filter_formats core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the Drupal\filter\FilterFormatRepositoryInterface service with the ::getAllFormats() method to get all formats, or with the ::getFormatsForAccount() method to get all formats that a user is able to access.

function
filter_formats_reset core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Invalidate 'filter_formats' entity type list cache tags instead.

function
filter_get_formats_by_role core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatRepositoryInterface service with the ::getFormatsByRole() method instead.

function
filter_get_roles_by_format core/modules/filter/filter.module

in drupal:11.4.0 and is removed from drupal:13.0.0. Use the \Drupal\filter\FilterFormatInterface::getRoles() method instead.

function
FormElement core/lib/Drupal/Core/Render/Element/FormElement.php

in drupal:10.3.0 and is removed from drupal:12.0.0. use \Drupal\Core\Render\Element\FormElementBase instead.

class 1 1
ImageCacheActions core/modules/image/src/Plugin/migrate/process/d6/ImageCacheActions.php

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

class
ImageStyleMappings core/modules/responsive_image/src/Plugin/migrate/process/ImageStyleMappings.php

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

class
ImageToolkitOperationManager::$logger core/lib/Drupal/Core/ImageToolkit/ImageToolkitOperationManager.php

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

property
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
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
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
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
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_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_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) ->batchFetchBuild($projects, $langcodes, $options) 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) ->batchUpdateBuild($projects, $langcodes, $options) 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) ->buildSources($projects, $langcodes) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('locale.project')->resetCache() instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class) ->downloadTranslationSource($source_file, $directory) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service('locale.project')->getProjects($project_names) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleFileManager::class)checkRemoteFileStatus($uri) instead.

function
locale_translation_load_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) ->loadSources($projects, $langcodes) instead.

function
locale_translation_source_build 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, $filename) instead.

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

in drupal:11.4.0 and is removed from drupal:13.0.0. Use \Drupal::service(LocaleSource::class)->sourceCheckFile($source) instead.

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

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

constant
LOCALE_TRANSLATION_SOURCE_COMPARE_GT core/modules/locale/locale.translation.inc

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

constant
LOCALE_TRANSLATION_SOURCE_COMPARE_LT core/modules/locale/locale.translation.inc

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

constant
MatchingRouteNotFoundException core/lib/Drupal/Core/Routing/MatchingRouteNotFoundException.php

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

class
media_filter_format_edit_form_validate core/modules/media/media.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use MediaHooks::formatEditFormValidate() instead.

function

Other projects


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