class context_reaction_addjs in Context Add Assets 6
Same name and namespace in other branches
- 7 plugins/context_reaction_addjs.inc \context_reaction_addjs
Expose themes as context reactions.
Hierarchy
- class \context_reaction_addassets_base extends \context_reaction
- class \context_reaction_addjs
Expanded class hierarchy of context_reaction_addjs
2 string references to 'context_reaction_addjs'
- 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.inc, line 18 - The Context reaction plugin to add JS files
View source
class context_reaction_addjs extends context_reaction_addassets_base {
var $search_scope;
function __construct($plugin, $info) {
parent::__construct($plugin, $info);
$this->title = t('JS from Themes');
$this->search_type = 'js';
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
context_reaction_addassets_base:: |
function | Editor form. | ||
context_reaction_addassets_base:: |
function | Submit handler for editor form. | ||
context_reaction_addassets_base:: |
function | Implementation of the built-in context plugin class execution | ||
context_reaction_addassets_base:: |
function | Prepare formatted form array showing grouped assets grouped by location and show as checkboxes | ||
context_reaction_addassets_base:: |
function | * Scan active themes for js files. * * | ||
context_reaction_addjs:: |
property |
Overrides context_reaction_addassets_base:: |
||
context_reaction_addjs:: |
function |
Overrides context_reaction_addassets_base:: |
2 |