function hosting_client_views_data in Hostmaster (Aegir) 6
Implementation of hook_views_data().
File
- modules/
hosting/ client/ hosting_client.views.inc, line 10 - Client module views integration.
Code
function hosting_client_views_data() {
$data['hosting_client'] = array(
'table' => array(
'group' => 'Hosting Client',
'title' => 'Client',
'join' => array(
'node' => array(
'left_field' => 'vid',
'field' => 'vid',
),
),
),
'uname' => array(
'title' => t('Internal name'),
'help' => t('The internal name for this client.'),
'field' => array(
'handler' => 'views_handler_field',
'click sortable' => TRUE,
),
),
);
return $data;
}