You are here

function template_preprocess_fullcalendar in FullCalendar 6.2

Same name and namespace in other branches
  1. 8 fullcalendar.theme.inc \template_preprocess_fullcalendar()
  2. 8.3 fullcalendar.theme.inc \template_preprocess_fullcalendar()
  3. 7.2 theme/theme.inc \template_preprocess_fullcalendar()

Passes options to the FullCalendar plugin as JavaScript settings.

File

theme/theme.inc, line 11
Preprocess functions for FullCalendar.

Code

function template_preprocess_fullcalendar(&$vars) {
  fullcalendar_get_settings($vars['view']);
}