function views_perm_views_data_alter in Views Hacks 6
Same name and namespace in other branches
- 7 views_perm/views_perm.views.inc \views_perm_views_data_alter()
Implementation of hook_views_data_alter().
File
- views_perm/
views_perm.views.inc, line 29
Code
function views_perm_views_data_alter(&$data) {
$data['users_roles']['pid'] = array(
'title' => t('Permissions'),
'help' => t('Permissions granted to a user.'),
'field' => array(
'handler' => 'views_handler_field_user_permissions',
'table' => 'permission',
),
'filter' => array(
'handler' => 'views_handler_filter_user_permissions',
),
'argument' => array(
'handler' => 'views_handler_argument_user_permissions',
),
);
}