You are here

function hook_fullcalendar_editable_alter in FullCalendar 8

Same name and namespace in other branches
  1. 8.5 fullcalendar.api.php \hook_fullcalendar_editable_alter()
  2. 8.2 fullcalendar.api.php \hook_fullcalendar_editable_alter()
  3. 8.3 fullcalendar.api.php \hook_fullcalendar_editable_alter()
  4. 8.4 fullcalendar.api.php \hook_fullcalendar_editable_alter()
  5. 7.2 fullcalendar.api.php \hook_fullcalendar_editable_alter()

Allows your module to forcibly override the editability of the calendar.

Parameters

bool $editable: A Boolean value dictating whether of not the calendar is editable.

object $entity: Object representing the entity.

object $view: Object representing the view.

File

./fullcalendar.api.php, line 84
Hooks provided by the FullCalendar module.

Code

function hook_fullcalendar_editable_alter(&$editable, $entity, $view) {
  $editable = FALSE;
}