You are here

function context_var_context_plugins in Context: Variable 6

Same name and namespace in other branches
  1. 7 context_var.module \context_var_context_plugins()

Implementation of hook_context_plugins().

File

./context_var.module, line 41

Code

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