Mercurial > hg > cmmr2012-drupal-site
comparison core/modules/user/user.views.inc @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c75dbcec494b |
---|---|
1 <?php | |
2 | |
3 /** | |
4 * @file | |
5 * Provide views data for user.module. | |
6 */ | |
7 | |
8 /** | |
9 * Implements hook_views_plugins_argument_validator_alter(). | |
10 */ | |
11 function user_views_plugins_argument_validator_alter(array &$plugins) { | |
12 $plugins['entity:user']['title'] = t('User ID'); | |
13 $plugins['entity:user']['class'] = 'Drupal\user\Plugin\views\argument_validator\User'; | |
14 $plugins['entity:user']['provider'] = 'user'; | |
15 } |