You are here

function mobile_tools_context_context_registry in Mobile Tools 7.2

Same name and namespace in other branches
  1. 7.3 mobile_tools_context/mobile_tools_context.module \mobile_tools_context_context_registry()

Implements hook_context_registry().

File

mobile_tools_context/mobile_tools_context.module, line 63
Define mobile contexts. Works with the Context module as well as contexts with CTools

Code

function mobile_tools_context_context_registry() {
  return array(
    'conditions' => array(
      'mobile' => array(
        'title' => t('Device Group'),
        'plugin' => 'mobile_tools_context_condition_mobile',
        'description' => t('Activate the context based on the active device group.'),
      ),
    ),
  );
}