You are here

function context_reaction_addjs_path::__construct in Context Add Assets 7

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

Constructor. Do not override.

Overrides context_reaction_addjs::__construct

File

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

Class

context_reaction_addjs_path
Expose themes as context reactions.

Code

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