You are here

function bat_fullcalendar_permission in Booking and Availability Management Tools for Drupal 7

Implements hook_permission().

File

modules/bat_fullcalendar/bat_fullcalendar.module, line 12
Manages the display of FullCalendar and provides ways for other modules to easily modify it.

Code

function bat_fullcalendar_permission() {
  $permissions = array(
    'administer calendar events' => array(
      'title' => t('Administer calendar events'),
      'description' => t('Allows users to manipulate events on calendar.'),
      'restrict access' => TRUE,
    ),
    'view past event information' => array(
      'title' => t('View past event information'),
      'description' => t('Allow users to view event info in the past (especially via event reference field).'),
    ),
  );
  return $permissions;
}