You are here

function context_metadata_context_plugins in Context Metadata 6

Same name and namespace in other branches
  1. 7 context_metadata.module \context_metadata_context_plugins()

Implements hook_context_plugins().

File

./context_metadata.module, line 11
Provides a context reaction

Code

function context_metadata_context_plugins() {
  $plugins = array();
  $plugins['context_metadata_context_reaction'] = array(
    'handler' => array(
      'path' => drupal_get_path('module', 'context_metadata') . '/plugins',
      'file' => 'context_metadata_reaction.inc',
      'class' => 'context_metadata_reaction',
      'parent' => 'context_reaction',
    ),
  );
  return $plugins;
}