You are here

function js_injector_theme in JS injector 6.2

Same name and namespace in other branches
  1. 6 js_injector.module \js_injector_theme()
  2. 7 js_injector.module \js_injector_theme()

Implementation of hook_theme().

File

./js_injector.module, line 105
Allows administrators to inject js into the page output based on configurable rules. Useful for adding simple js tweaks without modifying a site's official theme.

Code

function js_injector_theme() {
  $items['js_injector_admin_form'] = array(
    'arguments' => array(
      'form' => array(),
    ),
    'file' => 'js_injector.admin.inc',
  );
  return $items;
}