function taxonomy_views_plugins_argument_validator_alter
taxonomy_views_plugins_argument_validator_alter(array &$plugins)
Implements hook_views_plugins_argument_validator_alter().
Extend the generic entity argument validator.
See also
\Drupal\views\Plugin\views\argument_validator\Entity
File
- core/modules/taxonomy/taxonomy.views.inc, line 81
- Provides views data for taxonomy.module.
Code
function taxonomy_views_plugins_argument_validator_alter(array &$plugins) { $plugins['entity:taxonomy_term']['title'] = t('Taxonomy term ID'); $plugins['entity:taxonomy_term']['class'] = 'Drupal\taxonomy\Plugin\views\argument_validator\Term'; $plugins['entity:taxonomy_term']['provider'] = 'taxonomy'; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!taxonomy!taxonomy.views.inc/function/taxonomy_views_plugins_argument_validator_alter/8.1.x