You are here

function js_injector_permission in JS injector 8

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

Implements hook_permission().

File

./js_injector.module, line 27
js_injector.module

Code

function js_injector_permission() {
  return array(
    'administer js_injector' => array(
      'title' => t('Administer JS injector'),
      'description' => t('Create and delete JS snippets for the site.'),
      'restrict access' => TRUE,
    ),
  );
}