You are here

public function D6TermNodeDeriver::__construct in Drupal 9

Same name and namespace in other branches
  1. 8 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()

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;
}