class UserViewsHooks
Hook implementations for user.
Hierarchy
- class \Drupal\user\Hook\UserViewsHooks
Expanded class hierarchy of UserViewsHooks
File
-
core/
modules/ user/ src/ Hook/ UserViewsHooks.php, line 10
Namespace
Drupal\user\HookView source
class UserViewsHooks {
/**
* @file
* Provide views data for user.module.
*/
/**
* Implements hook_views_plugins_argument_validator_alter().
*/
public function viewsPluginsArgumentValidatorAlter(array &$plugins) : void {
$plugins['entity:user']['title'] = t('User ID');
$plugins['entity:user']['class'] = 'Drupal\\user\\Plugin\\views\\argument_validator\\User';
$plugins['entity:user']['provider'] = 'user';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
UserViewsHooks::viewsPluginsArgumentValidatorAlter | public | function | Implements hook_views_plugins_argument_validator_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.