function D6TermNodeDeriver::create

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

Overrides ContainerDeriverInterface::create

File

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

Class

D6TermNodeDeriver
Deriver for Drupal 6 term node 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('plugin.manager.migration'));
}

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