function D6TermNodeDeriver::__construct

Same name in other branches
  1. 8.9.x core/modules/taxonomy/src/Plugin/migrate/D6TermNodeDeriver.php \Drupal\taxonomy\Plugin\migrate\D6TermNodeDeriver::__construct()
  2. 10 core/modules/taxonomy/src/Plugin/migrate/D6TermNodeDeriver.php \Drupal\taxonomy\Plugin\migrate\D6TermNodeDeriver::__construct()
  3. 11.x core/modules/taxonomy/src/Plugin/migrate/D6TermNodeDeriver.php \Drupal\taxonomy\Plugin\migrate\D6TermNodeDeriver::__construct()

D6TermNodeDeriver constructor.

Parameters

string $base_plugin_id: The base plugin ID this derivative is for.

\Drupal\Component\Plugin\PluginManagerInterface $migration_plugin_manager: The migration plugin manager.

File

core/modules/taxonomy/src/Plugin/migrate/D6TermNodeDeriver.php, line 39

Class

D6TermNodeDeriver
Deriver for Drupal 6 term node migrations based on vocabularies.

Namespace

Drupal\taxonomy\Plugin\migrate

Code

public function __construct($base_plugin_id, PluginManagerInterface $migration_plugin_manager) {
    $this->basePluginId = $base_plugin_id;
    $this->migrationPluginManager = $migration_plugin_manager;
}

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