You are here

function context_reaction_addcss::__construct in Context Add Assets 7

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

Constructor. Do not override.

Overrides context_reaction_addassets_base::__construct

2 calls to context_reaction_addcss::__construct()
context_reaction_addcss_module::__construct in plugins/context_reaction_addcss_module.inc
Constructor. Do not override.
context_reaction_addcss_path::__construct in plugins/context_reaction_addcss_path.inc
Constructor. Do not override.
2 methods override context_reaction_addcss::__construct()
context_reaction_addcss_module::__construct in plugins/context_reaction_addcss_module.inc
Constructor. Do not override.
context_reaction_addcss_path::__construct in plugins/context_reaction_addcss_path.inc
Constructor. Do not override.

File

plugins/context_reaction_addcss.inc, line 20
The Context reaction plugin to add CSS files

Class

context_reaction_addcss
Expose themes as context reactions.

Code

function __construct($plugin, $info) {
  parent::__construct($plugin, $info);
  $this->title = t('CSS from Themes');
  $this->search_type = 'css|sass|scss|less';
}