You are here

function rooms_permission in Rooms - Drupal Booking for Hotels, B&Bs and Vacation Rentals 7

Implements hook_permission().

File

./rooms.module, line 55
Provides basic underlying functionality and configuration options used by all Rooms modules

Code

function rooms_permission() {
  $permissions = array(
    'configure room settings' => array(
      'title' => t('Configure Rooms'),
      'description' => t('Allows users to manage site-wide Rooms configurations.'),
      'restrict access' => TRUE,
    ),
  );
  return $permissions;
}