You are here

function fullcalendar_legend_fullcalendar_classes in FullCalendar 7.2

Implements hook_fullcalendar_classes().

File

fullcalendar_legend/fullcalendar_legend.module, line 197
Adds a legend of event types.

Code

function fullcalendar_legend_fullcalendar_classes($entity) {
  $classes = array();
  if (!isset($entity->eid)) {
    $classes[] = 'fc-event';
  }
  return $classes;
}