You are here

class context_reaction_addless in Context Add Assets 7

Expose themes as context reactions.

Hierarchy

Expanded class hierarchy of context_reaction_addless

2 string references to 'context_reaction_addless'
context_addassets_context_plugins in ./context_addassets.module
Implements hook_context_plugins().
context_addassets_context_registry in ./context_addassets.module
Implements hook_context_registry().

File

plugins/context_reaction_addless.inc, line 19
The Context reaction plugin to add Less files

View source
class context_reaction_addless extends context_reaction_addassets_base {
  var $search_scope;
  function __construct($plugin, $info) {
    parent::__construct($plugin, $info);
    $this->title = t('Less from Themes');
    $this->search_type = 'less';
  }

}

Members

Namesort descending Modifiers Type Description Overrides
context_reaction::$description property
context_reaction::$plugin property
context_reaction::$title property
context_reaction::fetch_from_context function Retrieve options from the context provided. 1
context_reaction::get_contexts function Retrieve active contexts that have values for this reaction.
context_reaction::settings_form function Settings form. Provide variable settings for your reaction. 2
context_reaction::__clone function Clone our references when we're being cloned.
context_reaction_addassets_base::editor_form function Editor form.
context_reaction_addassets_base::editor_form_submit function Submit handler for editor form.
context_reaction_addassets_base::execute function Implementation of the built-in context plugin class execution
context_reaction_addassets_base::options_form function Prepare formatted form array showing grouped assets grouped by location and show as checkboxes Overrides context_reaction::options_form
context_reaction_addassets_base::options_form_submit function Filters deselected files from the listing. Overrides context_reaction::options_form_submit
context_reaction_addassets_base::_context_addassets_search function * Scan active themes for js files. * *
context_reaction_addless::$search_scope property Overrides context_reaction_addassets_base::$search_scope
context_reaction_addless::__construct function Constructor. Do not override. Overrides context_reaction_addassets_base::__construct