You are here

function varnish_permission in Varnish 7

Implements hook_permisson().

Adds administer Varnish permission.

File

./varnish.module, line 72
Common functions used for the module.

Code

function varnish_permission() {
  return array(
    'administer varnish' => array(
      'title' => t('Administer Varnish'),
      'description' => t('Perform administration tasks for varnish.'),
      'restrict access' => TRUE,
    ),
  );
}