function js_injector_help in JS injector 6
Same name and namespace in other branches
- 8 js_injector.module \js_injector_help()
- 6.2 js_injector.module \js_injector_help()
- 7.2 js_injector.module \js_injector_help()
- 7 js_injector.module \js_injector_help()
Implementation of hook_help().
File
- ./
js_injector.module, line 14 - 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_help($path, $arg) {
$output = '';
switch ($path) {
case 'admin/settings/modules#description':
$output .= t('Allows administrators to inject js (JavaScript Files) into the page output based on configurable rules.');
break;
case 'admin/settings/js_injector':
$output .= '<p>' . t('Use js injection rules to add small snippets of js (JavaScript Files) to the page output when specific criteria are met.') . '</p>';
break;
}
return $output;
}