function views_cumulative_field_views_data in Views Cumulative Field 7
Same name and namespace in other branches
- 8 views_cumulative_field.views.inc \views_cumulative_field_views_data()
Implements hook_views_data().
File
- ./
views_cumulative_field.views.inc, line 6
Code
function views_cumulative_field_views_data() {
$data['views_cumulative_field']['table']['group'] = t('Global');
$data['views_cumulative_field']['table']['join'] = array(
// Exist in all views.
'#global' => array(),
);
$data['views_cumulative_field']['cumulative_field'] = array(
'title' => t('Cumulative Field'),
'help' => t('Views field that calculates the cumulative value of another field in your view.'),
'field' => array(
'handler' => 'views_handler_cumulative_field',
),
);
return $data;
}