function views_ifempty_views_data in Views If Empty 7
Same name and namespace in other branches
- 8 views_ifempty.views.inc \views_ifempty_views_data()
- 6 views_ifempty.views.inc \views_ifempty_views_data()
Implements hook_views_data().
File
- includes/
views/ views_ifempty.views.inc, line 11 - Include file for defining views handlers and data.
Code
function views_ifempty_views_data() {
$data['views_ifempty']['table']['group'] = t('Views If Empty');
$data['views_ifempty']['table']['join'] = array(
'#global' => array(),
);
$data['views_ifempty']['views_ifempty'] = array(
'title' => t('Views If Empty'),
'help' => t('Output a field if another field is empty'),
'field' => array(
'handler' => 'views_ifempty_handler_field',
),
);
return $data;
}