function D7TaxonomyTermDeriver::create

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

Overrides ContainerDeriverInterface::create

File

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

Class

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

Namespace

Drupal\taxonomy\Plugin\migrate

Code

public static function create(ContainerInterface $container, $base_plugin_id) {
    return new static($base_plugin_id, $container->get('migrate_drupal.field_discovery'));
}

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