You are here

function mobile_tools_device_groups in Mobile Tools 7.2

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

Retrieve the device groups

9 calls to mobile_tools_device_groups()
mobile_tools_block_message in ./mobile_tools.module
Helper function returning the configurable message for the notification
mobile_tools_context_condition_mobile::condition_form in mobile_tools_context/mobile_tools_context.condition_mobile.inc
Configuration form
mobile_tools_context_is_mobile_ctools_access_settings in mobile_tools_context/plugins/access/is_mobile.inc
Settings form for the 'by perm' access plugin
mobile_tools_get_device in ./mobile_tools.module
Get $device object. Check if the 'device' argument is present or a cookie is set to overwrite the device:
mobile_tools_purl_modifiers in ./mobile_tools.module
Implements hook_purl_modifiers().

... See full list

1 string reference to 'mobile_tools_device_groups'
mobile_tools_device_groups_rebuild in ./mobile_tools.module
Rebuild the list of implemented device groups

File

./mobile_tools.module, line 760
Functionality to ease the creation of mixed device environments.

Code

function mobile_tools_device_groups() {

  // Load the list of device groups
  $device_groups = variable_get('mobile_tools_device_groups');

  // @todo allow device groups to be toggled on/off
  return $device_groups;
}