You are here

function context_disable_context_context_registry in Context Disable Context 6

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

Registry hook for conditions & reactions.

Each entry associates a condition or reaction with the CTools plugin to be used as its plugin class.

File

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

Code

function context_disable_context_context_registry() {
  return array(
    'reactions' => array(
      'disable_context' => array(
        'title' => t('Disable context'),
        'plugin' => 'context_reaction_disable_context',
      ),
    ),
  );
}