You are here

function bootstrap_modal_messages_permission in Bootstrap Modal Messages 7

Implements hook_permission().

File

./bootstrap_modal_messages.module, line 31
Main functions for bootstrap_modal_messages module.

Code

function bootstrap_modal_messages_permission() {
  return array(
    'administer bootstrap modal messages' => array(
      'title' => t('Administer Bootstrap Modal Messages'),
      'description' => t('Configure settings for Bootstrap Modal Messages module.'),
    ),
    'view bootstrap modal messages controls' => array(
      'title' => t('View Bootstrap Modal Messages controls'),
      'description' => t('This is non-administrative.  This is the button to re-show modals.'),
    ),
  );
}