You are here

context_reaction_addjs_path.inc in Context Add Assets 6

Same filename and directory in other branches
  1. 7 plugins/context_reaction_addjs_path.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_path.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_path extends context_reaction_addjs {
  function __construct($plugin, $info) {
    parent::__construct($plugin, $info);
    $this->search_scope = 'paths';
    $this->title = t('JS from File Paths');
  }

}

Classes

Namesort descending Description
context_reaction_addjs_path Expose themes as context reactions.