Deprecated - main - drupal

Primary tabs

Title File name Deprecation Type Direct uses Namespaced uses Overrides Use statements
ExtensionMimeTypeGuesser::$mapping core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Pass a MimeTypeMapInterface $map to the constructor instead.

property
ExtensionMimeTypeGuesser::setMapping core/lib/Drupal/Core/File/MimeType/ExtensionMimeTypeGuesser.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\MimeType\MimeTypeMapInterface::addMapping() instead.

function
FieldBundle core/modules/field/src/Plugin/migrate/process/d7/FieldBundle.php

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

class
FieldFile core/modules/file/src/Plugin/migrate/process/d6/FieldFile.php

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

class
FieldFormatterSettingsDefaults core/modules/field/src/Plugin/migrate/process/d6/FieldFormatterSettingsDefaults.php

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

class
Fieldgroup core/lib/Drupal/Core/Render/Element/Fieldgroup.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Use \Drupal\Core\Render\Element\Fieldset instead.

class
FieldInstanceDefaults core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceDefaults.php

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

class
FieldInstanceDefaults core/modules/field/src/Plugin/migrate/process/d7/FieldInstanceDefaults.php

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

class
FieldInstanceOptionTranslation core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceOptionTranslation.php

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

class
FieldInstanceOptionTranslation core/modules/field/src/Plugin/migrate/process/d7/FieldInstanceOptionTranslation.php

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

class
FieldInstanceSettings core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceSettings.php

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

class
FieldInstanceSettings core/modules/field/src/Plugin/migrate/process/d7/FieldInstanceSettings.php

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

class
FieldInstanceWidgetSettings core/modules/field/src/Plugin/migrate/process/d6/FieldInstanceWidgetSettings.php

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

class
FieldLink core/modules/link/src/Plugin/migrate/process/FieldLink.php

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

class
FieldOptionTranslation core/modules/field/src/Plugin/migrate/process/d6/FieldOptionTranslation.php

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

class
FieldOptionTranslation core/modules/field/src/Plugin/migrate/process/d7/FieldOptionTranslation.php

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

class
FieldSettings core/modules/field/src/Plugin/migrate/process/d6/FieldSettings.php

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

class
FieldSettings core/modules/field/src/Plugin/migrate/process/d7/FieldSettings.php

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

class
FieldType core/modules/field/src/Plugin/migrate/process/FieldType.php

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

class
FieldTypeDefaults core/modules/field/src/Plugin/migrate/process/d6/FieldTypeDefaults.php

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

class
FieldTypeDefaults core/modules/field/src/Plugin/migrate/process/d7/FieldTypeDefaults.php

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

class
field_ui_form_manage_field_form_submit core/modules/field_ui/field_ui.module

in drupal:11.4.0 and is removed from drupal:12.0.0. Use \Drupal\field_ui\Hook\FieldUiHooks::manageFieldFormSubmit() instead.

function
FileDeprecatedTestThemeHooks::fileMimetypeMappingAlter core/modules/file/tests/file_deprecated_test/src/Hook/FileDeprecatedTestThemeHooks.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Kept only for BC test coverage, see \Drupal\KernelTests\Core\File\MimeTypeLegacyTest.

function
FileSystemInterface::basename core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:11.3.0 and is removed from drupal:13.0.0. Use PHP native basename() instead.

function
FileSystemInterface::EXISTS_ERROR core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Error instead.

constant
FileSystemInterface::EXISTS_RENAME core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Rename instead.

constant
FileSystemInterface::EXISTS_REPLACE core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:10.3.0 and is removed from drupal:12.0.0. Use \Drupal\Core\File\FileExists::Replace instead.

constant
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
file_get_content_headers core/modules/file/file.module

in drupal:11.2.0 and is removed from drupal:12.0.0. Use Drupal\file\Entity\FileInterface::getDownloadHeaders() instead.

function
file_managed_file_submit core/modules/file/file.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Use Drupal\file\Element\ManagedFile::submit() instead.

function
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
file_system_settings_submit core/modules/file/file.module

in drupal:11.3.0 and is removed from drupal:12.0.0. Use \Drupal\file\Hook\FileHooks::settingsSubmit() instead.

function
FilterController::filterTips core/modules/filter/src/Controller/FilterController.php

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

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
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
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
FilterThemeHooks::preprocessFilterTips core/modules/filter/src/Hook/FilterThemeHooks.php

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

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
HandlerBase::defineExtraOptions core/modules/views/src/Plugin/views/HandlerBase.php

in drupal:11.2.0 and is removed from drupal:12.0.0. This method is no longer used by Drupal core. There is no replacement.

function
hook_file_mimetype_mapping_alter core/lib/Drupal/Core/File/file.api.php

in drupal:11.2.0 and is removed from drupal:12.0.0. Create a \Drupal\Core\File\Event\MimeTypeMapLoadedEvent subscriber instead.

It is used to allow modules to add to or modify the default mapping of MIME type to file extensions.

function
hook_ranking core/modules/node/node.api.php

in drupal:11.3.0 and is removed from drupal:12.0.0. Use hook_node_search_ranking() instead.

function
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
ImageStyle::getReplacementID core/modules/image/src/Entity/ImageStyle.php

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

function
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_filter_keyword core/modules/image/image.module

in drupal:11.1.0 and is removed from drupal:12.0.0. Use \Drupal\Component\Utility\Image::getKeywordOffset() 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

Other projects


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