You are here

function context_reaction_addjs_module::__construct in Context Add Assets 7

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

Constructor. Do not override.

Overrides context_reaction_addjs::__construct

File

plugins/context_reaction_addjs_module.inc, line 15
The Context reaction plugin to add Module CSS files

Class

context_reaction_addjs_module
Expose themes as context reactions.

Code

function __construct($plugin, $info) {
  parent::__construct($plugin, $info);
  $this->search_scope = 'modules';
  $this->title = t('JS from Modules');
}