You are here

function fullcalendar_legend_preprocess_panels_pane in FullCalendar 7.2

Implements hook_preprocess_panels_pane().

File

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

Code

function fullcalendar_legend_preprocess_panels_pane(&$variables) {
  if ($variables['pane']->type == 'fullcalendar_legend') {
    $variables['classes_array'][] = 'fullcalendar-legend';
  }
}