function context_reaction_addjs::__construct in Context Add Assets 6
Same name and namespace in other branches
- 7 plugins/context_reaction_addjs.inc \context_reaction_addjs::__construct()
Overrides context_reaction_addassets_base::__construct
2 calls to context_reaction_addjs::__construct()
2 methods override context_reaction_addjs::__construct()
File
- plugins/
context_reaction_addjs.inc, line 20 - The Context reaction plugin to add JS files
Class
- context_reaction_addjs
- Expose themes as context reactions.
Code
function __construct($plugin, $info) {
parent::__construct($plugin, $info);
$this->title = t('JS from Themes');
$this->search_type = 'js';
}