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