function context_addassets_context_page_reaction in Context Add Assets 6
Same name and namespace in other branches
- 7 context_addassets.module \context_addassets_context_page_reaction()
Implements hook_context_page_reaction().
File
- ./
context_addassets.module, line 224
Code
function context_addassets_context_page_reaction() {
// theme
if ($plugin = context_get_plugin('reaction', 'css')) {
$plugin
->execute();
}
if ($plugin = context_get_plugin('reaction', 'js')) {
$plugin
->execute();
}
// module
if ($plugin = context_get_plugin('reaction', 'css_module')) {
$plugin
->execute();
}
if ($plugin = context_get_plugin('reaction', 'js_module')) {
$plugin
->execute();
}
// file path
if ($plugin = context_get_plugin('reaction', 'css_path')) {
$plugin
->execute();
}
if ($plugin = context_get_plugin('reaction', 'js_path')) {
$plugin
->execute();
}
}