function user_views_plugins_argument_validator_alter
user_views_plugins_argument_validator_alter(array &$plugins)
Implements hook_views_plugins_argument_validator_alter().
File
- core/modules/user/user.views.inc, line 11
- Provide views data for user.module.
Code
function user_views_plugins_argument_validator_alter(array &$plugins) { $plugins['entity:user']['title'] = t('User ID'); $plugins['entity:user']['class'] = 'Drupal\user\Plugin\views\argument_validator\User'; $plugins['entity:user']['provider'] = 'user'; }
© 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!user!user.views.inc/function/user_views_plugins_argument_validator_alter/8.1.x