You are here

class context_reaction_addjs_path in Context Add Assets 7

Same name and namespace in other branches
  1. 6 plugins/context_reaction_addjs_path.inc \context_reaction_addjs_path

Expose themes as context reactions.

Hierarchy

Expanded class hierarchy of context_reaction_addjs_path

2 string references to 'context_reaction_addjs_path'
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_addjs_path.inc, line 13
The Context reaction plugin to add Module CSS files

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

}

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_addjs::$search_scope property Overrides context_reaction_addassets_base::$search_scope
context_reaction_addjs_path::__construct function Constructor. Do not override. Overrides context_reaction_addjs::__construct