user.views.inc

Same filename and directory in other branches
  1. 9 core/modules/user/user.views.inc
  2. 8.9.x core/modules/user/user.views.inc
  3. 10 core/modules/user/user.views.inc

Provide views data for user.module.

File

core/modules/user/user.views.inc

View 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

Title Deprecated Summary
user_views_plugins_argument_validator_alter 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.