You are here

function rabbit_hole_permission in Rabbit Hole 7

Same name and namespace in other branches
  1. 7.2 rabbit_hole.module \rabbit_hole_permission()

Implements hook_permission().

File

./rabbit_hole.module, line 21
Main module file for Rabbit Hole.

Code

function rabbit_hole_permission() {
  return array(
    'administer rabbit hole' => array(
      'title' => t('Administer Rabbit Hole'),
      'description' => t('Configure Rabbit Hole per content type and node.'),
    ),
    'bypass rabbit hole' => array(
      'title' => t('Bypass Rabbit Hole'),
      'description' => t('Ignore the Rabbit Hole configuration and view any node in a regular way.'),
    ),
  );
}