You are here

function mobile_tools_context_plugins in Mobile Tools 6.3

Same name and namespace in other branches
  1. 6.2 mobile_tools.module \mobile_tools_context_plugins()

Implementation of hook_context_plugins We create mobile contexts

File

./mobile_tools.module, line 823
Mobile Tools provides a range of functionality assisting in creating a mobile Drupal site . this functionality contains:

Code

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