You are here

function mobile_tools_device_groups in Mobile Tools 5

Same name and namespace in other branches
  1. 6.3 mobile_tools.module \mobile_tools_device_groups()
  2. 6 mobile_tools.module \mobile_tools_device_groups()
  3. 6.2 mobile_tools.module \mobile_tools_device_groups()
  4. 7.2 mobile_tools.module \mobile_tools_device_groups()

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.

File

./mobile_tools.module, line 1076
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',
    'ipod',
    'android',
    'opera mini',
    'blackberry',
  );
}