You are here

function disclaimer_permission in Disclaimer 7

Implements hook_permission().

File

./disclaimer.module, line 70
Create and show disclaimer for your site.

Code

function disclaimer_permission() {
  return array(
    'administer disclaimer settings' => array(
      'title' => t('Administer disclaimer settings'),
      'description' => t('Full disclaimer administration access.'),
    ),
    'bypass disclaimer' => array(
      'title' => t('Bypass disclaimer'),
      'description' => t('Hide disclaimer depending by roles.'),
    ),
  );
}