summaryrefslogtreecommitdiffstats
path: root/core/modules/user/user.views.inc
blob: 5e3bd251e02cf242fb0ee1aa3a9757c15b757468 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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';
}