function _mobile_tools_device_groups in Mobile Tools 6.3
Same name and namespace in other branches
- 6 mobile_tools.module \_mobile_tools_device_groups()
Mobile Tools implementation of the hook_device_groups() This function returns the different device groups where this module can make a distinction for. This can be used to select different themes for different device groups.
1 call to _mobile_tools_device_groups()
- mobile_tools_device_groups in ./
mobile_tools.module - Calling the device groups, check first if third party module registered for doing the device detection
File
- ./
mobile_tools.module, line 586 - Mobile Tools provides a range of functionality assisting in creating a mobile Drupal site . this functionality contains:
Code
function _mobile_tools_device_groups() {
return array(
'iphone' => 'iPhone',
'ipod' => 'iPod',
'ipad' => 'iPad',
'android' => 'Android',
'opera_mini' => 'Opera Mini',
'blackberry' => 'BlackBerry',
);
}