function site_disclaimer_views_data in Site Disclaimer 6
Same name and namespace in other branches
- 7 views/site_disclaimer.views.inc \site_disclaimer_views_data()
Implementation of hook_views_data().
Related topics
File
- views/
site_disclaimer.views.inc, line 17 - Provide views data and handlers for site_disclaimer.module
Code
function site_disclaimer_views_data() {
$data['users']['tou_version'] = array(
'title' => t('Site Disclaimer Version'),
'real field' => 'data',
'field' => array(
'sortable' => FALSE,
'click sortable' => FALSE,
'handler' => 'site_disclaimer_handler_field_tou_version',
'help' => t('Version of Site Disclaimer the User has last agreed to / accepted.'),
),
);
return $data;
}