function context_contrib_context_reactions in Context 6
Same name and namespace in other branches
- 6.2 context_contrib/context_contrib.module \context_contrib_context_reactions()
Implementation of hook_context_reactions().
File
- context_contrib/
context_contrib.module, line 40
Code
function context_contrib_context_reactions() {
$items = array();
// CSS Injector
if (module_exists('css_injector')) {
$items['css_injector'] = array(
'#title' => t('CSS injector'),
'#description' => t('Inject the selected css when this context is set.'),
'#options' => _context_contrib_get_css_injector(),
'#type' => 'checkboxes',
);
}
return $items;
}