You are here

function mobile_tools_context_registry in Mobile Tools 6.2

Same name and namespace in other branches
  1. 6.3 mobile_tools.module \mobile_tools_context_registry()

Implementation of hook_context_registry().

File

./mobile_tools.module, line 693
Primarily Drupal hooks.

Code

function mobile_tools_context_registry() {
  return array(
    'conditions' => array(
      'mobile' => array(
        'title' => t('Context for mobile devices'),
        'plugin' => 'mobile_tools_context_condition_mobile',
        'description' => t('Choose for which device type or device group this context must apply.'),
      ),
    ),
  );
}