You are here

function context_reaction_addcss_module::__construct in Context Add Assets 7

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

Constructor. Do not override.

Overrides context_reaction_addcss::__construct

File

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

Class

context_reaction_addcss_module
Expose modules css as context reactions.

Code

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