function TaxonomyViewsArgumentTest::create
File
-
core/
modules/ taxonomy/ tests/ modules/ taxonomy_test/ src/ Plugin/ views/ argument/ TaxonomyViewsArgumentTest.php, line 35
Class
- TaxonomyViewsArgumentTest
- Test argument handler for testing deprecation in Taxonomy argument plugin.
Namespace
Drupal\taxonomy_test\Plugin\views\argumentCode
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_term'));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.