You are here

function context_disable_context_context_plugins in Context Disable Context 7

Same name and namespace in other branches
  1. 6.3 context_disable_context.module \context_disable_context_context_plugins()
  2. 6 context_disable_context.module \context_disable_context_context_plugins()
  3. 7.3 context_disable_context.module \context_disable_context_context_plugins()

CTools plugin API hook for Context. Note that a proper entry in hook_ctools_plugin_api() must exist for this hook to be called.

File

./context_disable_context.module, line 12
context_disable_context.module TODO: Enter file description here.

Code

function context_disable_context_context_plugins() {
  $plugins = array();
  $plugins['context_reaction_disable_context'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'context_disable_context') . '/plugins',
      'file' => 'context_reaction_disable_context.inc',
      'class' => 'context_reaction_disable_context',
      'parent' => 'context_reaction',
    ),
  );
  return $plugins;
}