You are here

public function D7TaxonomyTermDeriver::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php \Drupal\taxonomy\Plugin\migrate\D7TaxonomyTermDeriver::__construct()

D7TaxonomyTermDeriver constructor.

Parameters

string $base_plugin_id: The base plugin ID for the plugin ID.

\Drupal\migrate_drupal\FieldDiscoveryInterface $field_discovery: The migration field discovery service.

File

core/modules/taxonomy/src/Plugin/migrate/D7TaxonomyTermDeriver.php, line 41

Class

D7TaxonomyTermDeriver
Deriver for Drupal 7 taxonomy term migrations based on vocabularies.

Namespace

Drupal\taxonomy\Plugin\migrate

Code

public function __construct($base_plugin_id, FieldDiscoveryInterface $field_discovery) {
  $this->basePluginId = $base_plugin_id;
  $this->fieldDiscovery = $field_discovery;
}