class context_reaction_addjs_module in Context Add Assets 6
Same name and namespace in other branches
- 7 plugins/context_reaction_addjs_module.inc \context_reaction_addjs_module
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_module
2 string references to 'context_reaction_addjs_module'
- 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_module.inc, line 13 
- The Context reaction plugin to add Module CSS files
View source
class context_reaction_addjs_module extends context_reaction_addjs {
  function __construct($plugin, $info) {
    parent::__construct($plugin, $info);
    $this->search_scope = 'modules';
    $this->title = t('JS from Modules');
  }
}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_module:: | function | Overrides context_reaction_addjs:: | 
