public function ProcessField::__construct in Drupal 8
Same name and namespace in other branches
- 9 core/modules/field/src/Plugin/migrate/process/ProcessField.php \Drupal\field\Plugin\migrate\process\ProcessField::__construct()
Constructs a ProcessField plugin.
Parameters
array $configuration: The plugin configuration.
string $plugin_id: The plugin ID.
mixed $plugin_definition: The plugin definition.
\Drupal\migrate_drupal\Plugin\MigrateCckFieldPluginManagerInterface $cck_plugin_manager: The cckfield plugin manager.
\Drupal\migrate_drupal\Plugin\MigrateFieldPluginManagerInterface $field_plugin_manager: The field plugin manager.
\Drupal\migrate\Plugin\MigrationInterface $migration: The migration being run.
Overrides PluginBase::__construct
File
- core/
modules/ field/ src/ Plugin/ migrate/ process/ ProcessField.php, line 84
Class
- ProcessField
- Get the value from a method call on a field plugin instance.
Namespace
Drupal\field\Plugin\migrate\processCode
public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrateCckFieldPluginManagerInterface $cck_plugin_manager, MigrateFieldPluginManagerInterface $field_plugin_manager, MigrationInterface $migration = NULL) {
parent::__construct($configuration, $plugin_id, $plugin_definition);
$this->cckPluginManager = $cck_plugin_manager;
$this->fieldPluginManager = $field_plugin_manager;
$this->migration = $migration;
}