Deprecated - 8.9.x - drupal

Primary tabs

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

in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\link\Plugin\migrate\process\FieldLink instead.

class 1
FieldMigration::PLUGIN_METHOD core/modules/migrate_drupal/src/Plugin/migrate/FieldMigration.php

in drupal:8.7.0 and is removed from drupal:9.0.0. Use the migrate_drupal.field_discovery service instead. See https://www.drupal.org/node/3006076.

constant 1
FieldPluginBase::processField core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use alterFieldMigration() instead.

function
FieldPluginBase::processFieldFormatter core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use alterFieldFormatterMigration() instead.

function
FieldPluginBase::processFieldInstance core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use alterFieldInstanceMigration() instead.

function
FieldPluginBase::processFieldValues core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use defineValueProcessPipeline() instead.

function
FieldPluginBase::processFieldWidget core/modules/migrate_drupal/src/Plugin/migrate/field/FieldPluginBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use alterFieldWidgetMigration() instead.

function
FieldStorageConfigResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/FieldStorageConfig/FieldStorageConfigResourceTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\field\Functional\Rest\FieldStorageConfigResourceTestBase instead.

class
FieldStorageDefinitionInterface::isQueryable core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php

in drupal:8.4.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Field\FieldStorageDefinitionInterface::hasCustomStorage() instead.

function 2
FieldTestBase core/modules/field/src/Tests/Views/FieldTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\field\Functional\Views\FieldTestBase instead.

class
FieldTestBase core/modules/field/src/Tests/FieldTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\field\Functional\FieldTestBase instead.

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

in drupal:8.6.0 and is removed from drupal:9.0.0. Use d6_field_type_defaults or d7_field_type_defaults instead.

class 1
FieldUiTestTrait core/modules/field_ui/src/Tests/FieldUiTestTrait.php

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Tests\field_ui\Traits\FieldUiTestTrait. See https://www.drupal.org/node/3001664

trait
FileEntityNormalizer::normalize core/modules/hal/src/Normalizer/FileEntityNormalizer.php

in drupal:8.5.0 and is removed from drupal:9.0.0.

function
FileField core/modules/file/src/Plugin/migrate/cckfield/d6/FileField.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\file\Plugin\migrate\field\d6\FileField instead.

class 1
FileField core/modules/file/src/Plugin/migrate/cckfield/d7/FileField.php

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\file\Plugin\migrate\field\d7\FileField instead.

class 1
FileFieldTestBase core/modules/file/src/Tests/FileFieldTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\file\Functional\FileFieldTestBase instead.

class
FileManagedTestBase core/modules/file/src/Tests/FileManagedTestBase.php

in drupal:8.?.? and is removed from drupal:9.0.0. Use \Drupal\Tests\file\Functional\FileManagedTestBase instead.

class
FileResourceTestBase core/modules/rest/tests/src/Functional/EntityResource/File/FileResourceTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\file\Functional\Rest\FileResourceTestBase instead.

class
FileStorage::htaccessLines core/lib/Drupal/Component/PhpStorage/FileStorage.php

in drupal:8.8.0 and is removed from drupal:9.0.0. Instead use \Drupal\Component\FileSecurity\FileSecurity.

function 1
FileStorageFactory::getActive core/lib/Drupal/Core/Config/FileStorageFactory.php

in drupal:8.0.0 and is removed from drupal:9.0.0. Drupal core no longer creates an active directory.

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

in drupal:8.8.0 and is removed from drupal:9.0.0. Use Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::getScheme() instead.

function 1
FileSystemInterface::validScheme core/lib/Drupal/Core/File/FileSystemInterface.php

in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme() instead.

function 1
FileUploadHalJsonTestBase core/modules/hal/tests/src/Functional/EntityResource/File/FileUploadHalJsonTestBase.php

in drupal:8.6.0 and is removed from drupal:9.0.0. Use Drupal\Tests\file\Functional\Hal\FileUploadHalJsonTestBase instead.

class
FILE_CHMOD_DIRECTORY core/includes/file.inc

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystem::CHMOD_DIRECTORY.

constant
FILE_CHMOD_FILE core/includes/file.inc

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystem::CHMOD_FILE.

constant
FILE_CREATE_DIRECTORY core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::CREATE_DIRECTORY.

constant
file_create_filename core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::createFilename().

function 1
file_default_scheme core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal::config('system.file')->get('default_scheme') instead.

function 3
file_delete core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead.

function 1
file_delete_multiple core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\Entity\EntityStorageInterface::delete() instead.

function 2
file_destination core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::getDestinationFilename().

function 2
file_directory_os_temp core/includes/file.inc

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSystem\FileSystem::getOsTemporaryDirectory().

function 1
file_directory_temp core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::getTempDirectory() instead.

function 1
file_ensure_htaccess core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\HtaccessWriterInterface::ensure() instead.

function 2
FILE_EXISTS_ERROR core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::EXISTS_ERROR.

constant
FILE_EXISTS_RENAME core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::EXISTS_RENAME.

constant
FILE_EXISTS_REPLACE core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::EXISTS_REPLACE.

constant
file_htaccess_lines core/includes/file.inc

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSecurity\FileSecurity::htaccessLines().

function
file_load core/modules/file/file.module

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\file\Entity\File::load().

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

in drupal:8.0.0 and is removed from drupal:9.0.0. Use \Drupal\file\Entity\File::loadMultiple().

function 1
FILE_MODIFY_PERMISSIONS core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::MODIFY_PERMISSIONS.

constant
file_prepare_directory core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::prepareDirectory().

function 2
file_save_htaccess core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Component\FileSecurity\FileSecurity::writeHtaccess() instead.

function 1
file_scan_directory core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::scanDirectory() instead.

function 1
file_stream_wrapper_uri_normalize core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::normalizeUri() instead.

function 2
file_stream_wrapper_valid_scheme core/includes/file.inc

in drupal:8.8.0 and is removed from drupal:9.0.0. Use Drupal\Core\StreamWrapper\StreamWrapperManagerInterface::isValidScheme() instead.

function 1
file_unmanaged_copy core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::copy().

function 1
file_unmanaged_delete core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::delete().

function 1
file_unmanaged_delete_recursive core/includes/file.inc

in drupal:8.7.0 and is removed from drupal:9.0.0. Use \Drupal\Core\File\FileSystemInterface::deleteRecursive().

function 1

Other projects


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