function mobile_switch_views_data in Mobile Switch 7.2
Implements hook_views_data()
File
- views/
mobile_switch.views.inc, line 10 - mobile_switch.views.inc
Code
function mobile_switch_views_data() {
$data['node']['mobile_switch'] = array(
'group' => t('Mobile Switch'),
'title' => t('Mobile detection'),
'help' => t('Display content depending on mobile device detection.'),
'real field' => 'nid',
'filter' => array(
'handler' => 'mobile_switch_handler_filter',
),
);
return $data;
}