Mercurial > hg > isophonics-drupal-site
view core/modules/user/user.views.inc @ 9:1fc0ff908d1f
Add another data file
author | Chris Cannam |
---|---|
date | Mon, 05 Feb 2018 12:34:32 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line 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'; }