function colorbox_fullcalendar_options_definition in FullCalendar 8
Same name and namespace in other branches
- 8.3 fullcalendar_options/includes/colorbox.fullcalendar.inc \colorbox_fullcalendar_options_definition()
- 7.2 fullcalendar_options/includes/colorbox.fullcalendar.inc \colorbox_fullcalendar_options_definition()
Implements hook_fullcalendar_options_definition().
File
- fullcalendar_options/
includes/ colorbox.fullcalendar.inc, line 26 - Provides extra FullCalendar configuration options for Colorbox.
Code
function colorbox_fullcalendar_options_definition() {
$options['colorbox']['contains'] = [
'colorbox' => [
'default' => FALSE,
'bool' => TRUE,
],
'colorboxIFrame' => [
'default' => FALSE,
'bool' => TRUE,
],
'colorboxClass' => [
'default' => '#content',
],
'colorboxWidth' => [
'default' => '80%',
],
'colorboxHeight' => [
'default' => '80%',
],
];
return $options;
}