You are here

function mt_browscap_device_groups in Mobile Tools 5

Same name and namespace in other branches
  1. 6.3 contrib/mt_browscap/mt_browscap.module \mt_browscap_device_groups()
  2. 6 contrib/mt_browscap/mt_browscap.module \mt_browscap_device_groups()

Implementation of hook_device_groups() as provided by Mobile Tools module

1 call to mt_browscap_device_groups()
mt_browscap_is_mobile_device in contrib/mt_browscap/mt_browscap.module
Implementation of hook_is_mobile_device() provide by Mobile Tools module

File

contrib/mt_browscap/mt_browscap.module, line 33
Implements mobile_tools module hooks to integrate with the browsercap module

Code

function mt_browscap_device_groups() {
  return array(
    'iPhone',
    'iPod',
    'Android',
    'Opera Mini',
    'BlackBerry',
  );
}