class context_reaction_addjs in Context Add Assets 7
Same name and namespace in other branches
- 6 plugins/context_reaction_addjs.inc \context_reaction_addjs
Expose themes as context reactions.
Hierarchy
- class \context_reaction
- class \context_reaction_addassets_base
- class \context_reaction_addjs
- class \context_reaction_addassets_base
Expanded class hierarchy of context_reaction_addjs
2 string references to 'context_reaction_addjs'
- context_addassets_context_plugins in ./
context_addassets.module - Implements hook_context_plugins().
- context_addassets_context_registry in ./
context_addassets.module - Implements hook_context_registry().
File
- plugins/
context_reaction_addjs.inc, line 18 - The Context reaction plugin to add JS files
View source
class context_reaction_addjs extends context_reaction_addassets_base {
var $search_scope;
function __construct($plugin, $info) {
parent::__construct($plugin, $info);
$this->title = t('JS from Themes');
$this->search_type = 'js';
}
}