context_reaction_addjs_module.inc in Context Add Assets 7
Same filename and directory in other branches
The Context reaction plugin to add Module CSS files
Contextually add Module CSS files to any page on your site.
File
plugins/context_reaction_addjs_module.incView source
<?php
/**
* @file
* The Context reaction plugin to add Module CSS files
*
* Contextually add Module CSS files to any page on your site.
*/
/**
* Expose themes as context reactions.
*/
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');
}
}
Classes
Name | Description |
---|---|
context_reaction_addjs_module | Expose themes as context reactions. |