You are here

function js_injector_help in JS injector 8

Same name and namespace in other branches
  1. 6.2 js_injector.module \js_injector_help()
  2. 6 js_injector.module \js_injector_help()
  3. 7.2 js_injector.module \js_injector_help()
  4. 7 js_injector.module \js_injector_help()

Implements hook_help().

File

./js_injector.module, line 14
js_injector.module

Code

function js_injector_help($path, $arg) {
  $output = '';
  switch ($path) {
    case 'admin/config/development/js-injector':
      $output .= '<p>' . t('Use JavaScript injector rules to add small snippets of JavaScript to the page output when specific criteria are met. For example, a simple rule could change the page background color at night or float a particular div to the right on node editing pages.') . '</p>';
      break;
  }
  return $output;
}