function user_views_plugins_argument_validator_alter

Same name and namespace in other branches
  1. 9 core/modules/user/user.views.inc \user_views_plugins_argument_validator_alter()
  2. 8.9.x core/modules/user/user.views.inc \user_views_plugins_argument_validator_alter()
  3. 10 core/modules/user/user.views.inc \user_views_plugins_argument_validator_alter()

Implements hook_views_plugins_argument_validator_alter().

File

core/modules/user/user.views.inc, line 11

Code

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';
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.