function js_injector_theme in JS injector 7
Same name and namespace in other branches
- 6.2 js_injector.module \js_injector_theme()
- 6 js_injector.module \js_injector_theme()
Implements hook_theme().
File
- ./
js_injector.module, line 122 - 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(
'render element' => 'form',
'file' => 'js_injector.admin.inc',
);
return $items;
}