Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
We need a page with explanation about the API and links with examples in the handbook.
This includes for example the D6 event coloring taxonomy example.
This page would also need sub-pages with some examples like how to color based on field input for example.
Disable editing for all events
/**
* Implements hook_fullcalendar_editable().
*/
function custom_module_fullcalendar_editable($entity, $view) {
// Here I could inspect the entity or the view to make an informed deciscion,
// but in this case I never want to have the event be editable.
return FALSE;
}