function site_banner_context_registry in Site Banner 7
Implements hook_context_registry().
File
- ./
site_banner.module, line 224 - Main module file implementing callbacks for the site banner module.
Code
function site_banner_context_registry() {
return array(
'reactions' => array(
'change_banner_status' => array(
'title' => t('Change site banner status'),
'plugin' => 'site_banner_context_reaction_change_banner_status',
),
'change_banner_text' => array(
'title' => t('Change site banner text'),
'plugin' => 'site_banner_context_reaction_change_banner_text',
),
'change_banner_text_color' => array(
'title' => t('Change site banner text color'),
'plugin' => 'site_banner_context_reaction_change_banner_text_color',
),
'change_banner_background_color' => array(
'title' => t('Change site banner background color'),
'plugin' => 'site_banner_context_reaction_change_banner_bg_color',
),
),
);
}