You are here

function hook_fullcalendar_editable in FullCalendar 8.3

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

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().

File

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

Code

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