Drupal 8.0.0 beta 12. More info: https://www.drupal.org/node/2514176
This commit is contained in:
commit
9921556621
13277 changed files with 1459781 additions and 0 deletions
15
core/modules/user/user.views.inc
Normal file
15
core/modules/user/user.views.inc
Normal file
|
@ -0,0 +1,15 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Provide views data for user.module.
|
||||
*/
|
||||
|
||||
/**
|
||||
* Implements hook_views_plugins_argument_validator_alter().
|
||||
*/
|
||||
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';
|
||||
}
|
Reference in a new issue