function context_disable_context_context_registry in Context Disable Context 7
Same name and namespace in other branches
- 6.3 context_disable_context.module \context_disable_context_context_registry()
- 6 context_disable_context.module \context_disable_context_context_registry()
- 7.3 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',
),
),
);
}