function 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.

Overrides PluginBase::__construct

File

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

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) {
  @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->migrateLookup = $migrate_lookup;
}

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