function hook_fullcalendar_editable in FullCalendar 7.2
Same name and namespace in other branches
- 8.5 fullcalendar.api.php \hook_fullcalendar_editable()
- 8 fullcalendar.api.php \hook_fullcalendar_editable()
- 8.2 fullcalendar.api.php \hook_fullcalendar_editable()
- 8.3 fullcalendar.api.php \hook_fullcalendar_editable()
- 8.4 fullcalendar.api.php \hook_fullcalendar_editable()
Allows your module to affect the editability of the calendar.
If any module implementing this hook returns FALSE, the value will be set to FALSE. Use hook_fullcalendar_editable_alter() to override this if necessary.
Parameters
object $entity: Object representing the entity.
object $view: Object representing the view.
Return value
bool A Boolean value dictating whether of not the calendar is editable.
1 function implements hook_fullcalendar_editable()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- fullcalendar_fullcalendar_editable in ./
fullcalendar.module - Implements hook_fullcalendar_editable().
1 invocation of hook_fullcalendar_editable()
- fullcalendar_prepare_events in theme/
theme.inc - Build a render array representing the events.
File
- ./
fullcalendar.api.php, line 70 - Hooks provided by the FullCalendar module.
Code
function hook_fullcalendar_editable($entity, $view) {
return _fullcalendar_update_access($entity);
}