function FieldBundle::__construct

Same name in other branches
  1. 9 core/modules/field/src/Plugin/migrate/process/d7/FieldBundle.php \Drupal\field\Plugin\migrate\process\d7\FieldBundle::__construct()
  2. 11.x core/modules/field/src/Plugin/migrate/process/d7/FieldBundle.php \Drupal\field\Plugin\migrate\process\d7\FieldBundle::__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\MigrateLookupInterface $migrate_lookup: The migrate lookup service.

File

core/modules/field/src/Plugin/migrate/process/d7/FieldBundle.php, line 77

Class

FieldBundle
Determines the bundle for a field.

Namespace

Drupal\field\Plugin\migrate\process\d7

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrateLookupInterface $migrate_lookup) {
    parent::__construct($configuration, $plugin_id, $plugin_definition);
    $this->migrateLookup = $migrate_lookup;
}

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