You are here

function opening_hours_permission in Opening hours 7

Implements hook_permission().

File

./opening_hours.module, line 165
Opening hours module.

Code

function opening_hours_permission() {
  return array(
    'edit opening hours for content' => array(
      'title' => t('Edit opening hours for content'),
      'description' => t('Allows the user to configure opening hours for any node type that has opening hours enabled.'),
    ),
    'administer opening hours configuration' => array(
      'title' => t('Administer opening hours configuration'),
      'description' => t('Allows the user to configure global closing days for opening hours and other settings.'),
    ),
  );
}