user.views.inc in Drupal 10
Same filename and directory in other branches
Provide views data for user.module.
File
core/modules/user/user.views.incView source
<?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';
}
Functions
Name | Description |
---|---|
user_views_plugins_argument_validator_alter | Implements hook_views_plugins_argument_validator_alter(). |