You are here

function fullcalendar_permission in FullCalendar 8

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

Implements hook_permission().

Return value

array An array of valid permissions for the FullCalendar module.

File

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

Code

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