You are here

public function TermNode::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/taxonomy/src/Plugin/migrate/builder/d6/TermNode.php \Drupal\taxonomy\Plugin\migrate\builder\d6\TermNode::__construct()

Constructs a TermNode builder.

Parameters

array $configuration: Plugin configuration.

string $plugin_id: The plugin ID.

mixed $plugin_definition: The plugin definition.

\Drupal\migrate\MigrateTemplateStorage $template_storage: The migration template storage handler.

Overrides PluginBase::__construct

File

core/modules/taxonomy/src/Plugin/migrate/builder/d6/TermNode.php, line 42
Contains \Drupal\taxonomy\Plugin\migrate\builder\d6\TermNode.

Class

TermNode
Plugin annotation @PluginID("d6_term_node");

Namespace

Drupal\taxonomy\Plugin\migrate\builder\d6

Code

public function __construct(array $configuration, $plugin_id, $plugin_definition, MigrateTemplateStorage $template_storage) {
  parent::__construct($configuration, $plugin_id, $plugin_definition);
  $this->templateStorage = $template_storage;
}