You are here

function context_reaction_addassets_base::__construct in Context Add Assets 6

Same name and namespace in other branches
  1. 7 plugins/context_reaction_addassets_base.inc \context_reaction_addassets_base::__construct()
2 calls to context_reaction_addassets_base::__construct()
context_reaction_addcss::__construct in plugins/context_reaction_addcss.inc
context_reaction_addjs::__construct in plugins/context_reaction_addjs.inc
2 methods override context_reaction_addassets_base::__construct()
context_reaction_addcss::__construct in plugins/context_reaction_addcss.inc
context_reaction_addjs::__construct in plugins/context_reaction_addjs.inc

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';
}