function context_reaction_addjs::__construct in Context Add Assets 7
Same name and namespace in other branches
- 6 plugins/context_reaction_addjs.inc \context_reaction_addjs::__construct()
Constructor. Do not override.
Overrides context_reaction_addassets_base::__construct
2 calls to context_reaction_addjs::__construct()
- context_reaction_addjs_module::__construct in plugins/
context_reaction_addjs_module.inc - Constructor. Do not override.
- context_reaction_addjs_path::__construct in plugins/
context_reaction_addjs_path.inc - Constructor. Do not override.
2 methods override context_reaction_addjs::__construct()
- context_reaction_addjs_module::__construct in plugins/
context_reaction_addjs_module.inc - Constructor. Do not override.
- context_reaction_addjs_path::__construct in plugins/
context_reaction_addjs_path.inc - Constructor. Do not override.
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';
}