function dynamic_background_context_context_registry in Dynamic Background 7.2
Same name and namespace in other branches
- 6 modules/dynamic_background_context/dynamic_background_context.module \dynamic_background_context_context_registry()
- 7 modules/dynamic_background_context/dynamic_background_context.module \dynamic_background_context_context_registry()
Implements hook_context_registry().
File
- modules/
dynamic_background_context/ dynamic_background_context.module, line 40
Code
function dynamic_background_context_context_registry() {
return array(
'reactions' => array(
'dynamic_background' => array(
// Space is not allowed in the name.
'title' => t('Dynamic background'),
'description' => t('Enable different backgrounds base on a given context.'),
'plugin' => 'dynamic_background_context_reaction',
),
),
);
}