function context_reaction_addassets_base::__construct in Context Add Assets 7
Same name and namespace in other branches
- 6 plugins/context_reaction_addassets_base.inc \context_reaction_addassets_base::__construct()
Constructor. Do not override.
Overrides context_reaction::__construct
3 calls to context_reaction_addassets_base::__construct()
- context_reaction_addcss::__construct in plugins/
context_reaction_addcss.inc - Constructor. Do not override.
- context_reaction_addjs::__construct in plugins/
context_reaction_addjs.inc - Constructor. Do not override.
- context_reaction_addless::__construct in plugins/
context_reaction_addless.inc - Constructor. Do not override.
3 methods override context_reaction_addassets_base::__construct()
- context_reaction_addcss::__construct in plugins/
context_reaction_addcss.inc - Constructor. Do not override.
- context_reaction_addjs::__construct in plugins/
context_reaction_addjs.inc - Constructor. Do not override.
- context_reaction_addless::__construct in plugins/
context_reaction_addless.inc - Constructor. Do not override.
File
- plugins/
context_reaction_addassets_base.inc, line 16 - The Context reaction plugin to add asset files
Class
- context_reaction_addassets_base
- Expose themes as context reactions.
Code
function __construct($plugin, $info) {
parent::__construct($plugin, $info);
// defaults are for js - but should never be picked up.
$this->title = t('JS from Themes');
$this->search_type = 'js';
}