You are here

context_reaction_addjs_module.inc in Context Add Assets 6

Same filename and directory in other branches
  1. 7 plugins/context_reaction_addjs_module.inc

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.inc
View 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

Namesort descending Description
context_reaction_addjs_module Expose themes as context reactions.