You are here

function brb_permission in Browser Bouncer (brb) 7

Implementation of hook_permission().

File

./brb.module, line 42
Display a message to let the user knows his/her browser is not supported. This message also offer to the user different browsers that can be used instead.

Code

function brb_permission() {
  return array(
    'browse without warning' => array(
      'title' => t('Browse without warning'),
      'description' => t('If selected the warning message will not be displayed.'),
    ),
    'administer brb' => array(
      'title' => t('Administer BrB'),
      'description' => t('Perform administration tasks for Browser Bouncer (BrB)'),
    ),
  );
}