function fullcalendar_permission in FullCalendar 8.5
Same name and namespace in other branches
- 8 fullcalendar.module \fullcalendar_permission()
- 8.2 fullcalendar.module \fullcalendar_permission()
- 8.3 fullcalendar.module \fullcalendar_permission()
- 8.4 fullcalendar.module \fullcalendar_permission()
- 7.2 fullcalendar.module \fullcalendar_permission()
- 7 fullcalendar.module \fullcalendar_permission()
Implements hook_permission().
Return value
array An array of valid permissions for the FullCalendar module.
File
- ./
fullcalendar.module, line 52 - 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.'),
],
];
}