function views_customfield_views_data in Views Custom Field 6
Implementation of hook_views_data().
Return value
array
File
- ./
views_customfield.views.inc, line 32
Code
function views_customfield_views_data() {
$data['customfield']['table']['group'] = t('Customfield');
$data['customfield']['table']['join'] = array(
'#global' => array(),
);
$data['customfield']['markup'] = array(
'title' => t('Markup'),
'help' => t('Display custom markup text.'),
'field' => array(
'handler' => 'views_customfield_handler_field_markup',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
$data['customfield']['phpcode'] = array(
'title' => t('PHP code'),
'help' => t('Display row-specific custom text using PHP.'),
'field' => array(
'handler' => 'views_customfield_handler_field_phpcode',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
$data['customfield']['rownumber'] = array(
'title' => t('Rownumber'),
'help' => t('Display rownumber.'),
'field' => array(
'handler' => 'views_customfield_handler_field_rownumber',
'click sortable' => FALSE,
'notafield' => TRUE,
),
);
return $data;
}