You are here

function context_mobile_detect_context_registry in Context Mobile Detect 7

Same name and namespace in other branches
  1. 7.2 context_mobile_detect.module \context_mobile_detect_context_registry()

Implements hook_context_registry().

File

./context_mobile_detect.module, line 50

Code

function context_mobile_detect_context_registry() {
  return array(
    'conditions' => array(
      'cmd' => array(
        'title' => t('Mobile Device'),
        'plugin' => 'cmd_condition',
      ),
      'cmd_type' => array(
        'title' => t('Mobile Device Type'),
        'plugin' => 'cmd_type_condition',
      ),
    ),
  );
}