You are here

function context_reaction_addcss::__construct in Context Add Assets 6

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

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
context_reaction_addcss_path::__construct in plugins/context_reaction_addcss_path.inc
2 methods override context_reaction_addcss::__construct()
context_reaction_addcss_module::__construct in plugins/context_reaction_addcss_module.inc
context_reaction_addcss_path::__construct in plugins/context_reaction_addcss_path.inc

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