function fullcalendar_handler_field_gcal::option_definition in FullCalendar 6.2
Same name and namespace in other branches
- 7.2 includes/views/handlers/fullcalendar_handler_field_gcal.inc \fullcalendar_handler_field_gcal::option_definition()
File
- includes/
views/ handlers/ fullcalendar_handler_field_gcal.inc, line 16 - Provide a field that attaches a Google Calendar feed.
Class
- fullcalendar_handler_field_gcal
- @file Provide a field that attaches a Google Calendar feed.
Code
function option_definition() {
$options = parent::option_definition();
$options['label'] = array(
'default' => $this->definition['title'],
'translatable' => TRUE,
);
$options['gcal'] = array(
'default' => '',
);
$options['class'] = array(
'default' => 'fc-event-default fc-event-gcal',
);
$options['timezone'] = array(
'default' => date_default_timezone_get(),
);
$options['editable'] = array(
'default' => FALSE,
);
return $options;
}