You are here

public function EntityFieldStorageConfig::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.php \Drupal\migrate_drupal\Plugin\migrate\destination\EntityFieldStorageConfig::__construct()

Construct a new plugin.

Parameters

array $configuration: A configuration array containing information about the plugin instance.

string $plugin_id: The plugin_id for the plugin instance.

mixed $plugin_definition: The plugin implementation definition.

MigrationInterface $migration: The migration.

EntityStorageInterface $storage: The storage for this entity type.

array $bundles: The list of bundles this entity type has.

\Drupal\Core\Field\FieldTypePluginManagerInterface $field_type_plugin_manager: The field type plugin manager.

Overrides Entity::__construct

File

core/modules/migrate_drupal/src/Plugin/migrate/destination/EntityFieldStorageConfig.php, line 50
Contains \Drupal\migrate_drupal\Plugin\migrate\destination\EntityFieldStorageConfig.

Class

EntityFieldStorageConfig
Destination with Drupal specific config dependencies.

Namespace

Drupal\migrate_drupal\Plugin\migrate\destination

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrationInterface $migration, EntityStorageInterface $storage, array $bundles, FieldTypePluginManagerInterface $field_type_plugin_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition, $migration, $storage, $bundles);
  $this->fieldTypePluginManager = $field_type_plugin_manager;
}