You are here

public function CckBuilder::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/src/Plugin/migrate/builder/CckBuilder.php \Drupal\migrate_drupal\Plugin\migrate\builder\CckBuilder::__construct()

Constructs a CckBuilder.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\migrate\Plugin\MigratePluginManager $cck_manager: The cckfield plugin manager.

Overrides PluginBase::__construct

File

core/modules/migrate_drupal/src/Plugin/migrate/builder/CckBuilder.php, line 47
Contains \Drupal\migrate_drupal\Plugin\migrate\builder\CckBuilder.

Class

CckBuilder
Base class for builders which leverage cckfield plugins.

Namespace

Drupal\migrate_drupal\Plugin\migrate\builder

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigratePluginManager $cck_manager) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->cckPluginManager = $cck_manager;
}