You are here

function fullcalendar_permission in FullCalendar 7

Same name and namespace in other branches
  1. 8.5 fullcalendar.module \fullcalendar_permission()
  2. 8 fullcalendar.module \fullcalendar_permission()
  3. 8.2 fullcalendar.module \fullcalendar_permission()
  4. 8.3 fullcalendar.module \fullcalendar_permission()
  5. 8.4 fullcalendar.module \fullcalendar_permission()
  6. 7.2 fullcalendar.module \fullcalendar_permission()

Implements hook_permission().

Return value

An array of valid permissions for the FullCalendar module.

File

./fullcalendar.module, line 65
Provides a views style plugin for FullCalendar

Code

function fullcalendar_permission() {
  return array(
    'update any fullcalendar event' => array(
      'title' => t('Update any FullCalendar event'),
      'description' => t('Allow user to edit events, ignoring other permissions.'),
    ),
  );
}