function context_mobile_detect_context_plugins in Context Mobile Detect 7.2
Same name and namespace in other branches
- 7 context_mobile_detect.module \context_mobile_detect_context_plugins()
Implements hook_context_plugins().
File
- ./
context_mobile_detect.module, line 26
Code
function context_mobile_detect_context_plugins() {
$plugins = array();
$plugins['cmd_condition'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_mobile_detect') . '/plugins',
'file' => 'context_mobile_detect_condition.inc',
'class' => 'cmd_condition',
'parent' => 'context_condition',
),
);
$plugins['cmd_type_condition'] = array(
'handler' => array(
'path' => drupal_get_path('module', 'context_mobile_detect') . '/plugins',
'file' => 'context_mobile_detect_type_condition.inc',
'class' => 'cmd_type_condition',
'parent' => 'context_condition',
),
);
return $plugins;
}