You are here

function mobile_tools_context_context_plugins 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_plugins()

Implementation of hook_context_plugins().

File

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

Code

function mobile_tools_context_context_plugins() {
  $plugins = array();
  $plugins['mobile_tools_context_condition_mobile'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'mobile_tools'),
      'file' => 'mobile_tools_context.condition_mobile.inc',
      'class' => 'mobile_tools_context_condition_mobile',
      'parent' => 'context_condition',
    ),
  );
  return $plugins;
}