function FieldFile::__construct
Constructs a FieldFile plugin instance.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\migrate\Plugin\MigrationInterface $migration: The current migration.
\Drupal\migrate\MigrateLookupInterface $migrate_lookup: The migrate lookup service.
Overrides PluginBase::__construct
File
-
core/
modules/ file/ src/ Plugin/ migrate/ process/ d6/ FieldFile.php, line 51
Class
- FieldFile
- Determines the settings for a Drupal 6 file field.
Namespace
Drupal\file\Plugin\migrate\process\d6Code
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, MigrateLookupInterface $migrate_lookup) {
@trigger_error(__CLASS__ . ' is deprecated in drupal:11.3.0 and is removed from drupal:12.0.0. There is no replacement. See https://www.drupal.org/node/3533560', E_USER_DEPRECATED);
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->migration = $migration;
$this->migrateLookup = $migrate_lookup;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.