function mobile_tools_context_context_registry in Mobile Tools 7.3
Same name and namespace in other branches
- 7.2 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 66 - 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(
'device_group' => array(
'title' => t('Device Group'),
'plugin' => 'mobile_tools_context_condition_device_group',
'description' => t('Activate the context based on the active device group.'),
),
),
);
}