You are here

function context_reaction_addjs::__construct in Context Add Assets 6

Same name and namespace in other branches
  1. 7 plugins/context_reaction_addjs.inc \context_reaction_addjs::__construct()

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
context_reaction_addjs_path::__construct in plugins/context_reaction_addjs_path.inc
2 methods override context_reaction_addjs::__construct()
context_reaction_addjs_module::__construct in plugins/context_reaction_addjs_module.inc
context_reaction_addjs_path::__construct in plugins/context_reaction_addjs_path.inc

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