public static function NodeTermData::create in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php \Drupal\taxonomy\Plugin\views\relationship\NodeTermData::create()
- 9 core/modules/taxonomy/src/Plugin/views/relationship/NodeTermData.php \Drupal\taxonomy\Plugin\views\relationship\NodeTermData::create()
File
- core/
modules/ taxonomy/ src/ Plugin/ views/ relationship/ NodeTermData.php, line 47
Class
- NodeTermData
- Relationship handler to return the taxonomy terms of nodes.
Namespace
Drupal\taxonomy\Plugin\views\relationshipCode
public static function create(ContainerInterface $container, array $configuration, $plugin_id, $plugin_definition) {
return new static($configuration, $plugin_id, $plugin_definition, $container
->get('entity_type.manager')
->getStorage('taxonomy_vocabulary'));
}