You are here

function hook_fullcalendar_editable in FullCalendar 8.5

Same name and namespace in other branches
  1. 8 fullcalendar.api.php \hook_fullcalendar_editable()
  2. 8.2 fullcalendar.api.php \hook_fullcalendar_editable()
  3. 8.3 fullcalendar.api.php \hook_fullcalendar_editable()
  4. 8.4 fullcalendar.api.php \hook_fullcalendar_editable()
  5. 7.2 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.

File

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

Code

function hook_fullcalendar_editable($entity, $view) {
  return TRUE;
}