fasttoggle_user.views.inc in Fasttoggle 7
Views data definitions for Fasttoggle.
This file defines how Views should get Fasttoggle data.
File
module/fasttoggle_user/views/fasttoggle_user.views.incView source
<?php
/**
* @file
* Views data definitions for Fasttoggle.
*
* This file defines how Views should get Fasttoggle data.
*/
/**
* Implements hook_views_data_alter().
*/
function fasttoggle_user_views_data_alter(&$data) {
$data['users']['fasttoggle_block_user'] = array(
'field' => array(
'title' => t('Block Link (Fasttoggle)'),
'help' => t('Provide a simple link to block/unblock the user.'),
'handler' => 'fasttoggle_user_views_handler_field_user_link',
),
);
}
Functions
Name | Description |
---|---|
fasttoggle_user_views_data_alter | Implements hook_views_data_alter(). |