function js_injector_permission in JS injector 7
Same name and namespace in other branches
- 8 js_injector.module \js_injector_permission()
- 7.2 js_injector.module \js_injector_permission()
Implements hook_permission().
File
- ./
js_injector.module, line 133 - 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_permission() {
return array(
'administer js injection' => array(
'title' => t('Administer JS Injection'),
),
);
}