You are here

function hook_fullcalendar_droppable in FullCalendar 8

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

Declare that you provide a droppable callback.

Implementing this hook will cause a checkbox to appear on the view settings, when checked FullCalendar will search for JS callbacks in the form Drupal.fullcalendar.droppableCallbacks.MODULENAME.callback.

See also

http://arshaw.com/fullcalendar/docs/dropping/droppable

1 invocation of hook_fullcalendar_droppable()
FullCalendar::buildOptionsForm in src/Plugin/fullcalendar/type/FullCalendar.php

File

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

Code

function hook_fullcalendar_droppable() {

  // This hook will never be executed.
  return TRUE;
}