function calendar_plugin_display_page::option_definition in Calendar 7
Same name and namespace in other branches
- 6.2 includes/calendar_plugin_display_page.inc \calendar_plugin_display_page::option_definition()
- 7.2 includes/calendar_plugin_display_page.inc \calendar_plugin_display_page::option_definition()
Add custom option definitions.
Overrides views_plugin_display_page::option_definition
File
- includes/
calendar_plugin_display_page.inc, line 77 - Views page plugin for the Calendar module.
Class
- calendar_plugin_display_page
- The plugin that handles a full calendar page.
Code
function option_definition() {
$options = parent::option_definition();
$options['calendar_colors'] = array(
'default' => array(),
);
$options['calendar_colors_vocabulary'] = array(
'default' => array(),
);
$options['calendar_colors_taxonomy'] = array(
'default' => array(),
);
$options['calendar_colors_group'] = array(
'default' => array(),
);
$options['calendar_popup'] = array(
'default' => 0,
);
$options['calendar_date_link'] = array(
'default' => '',
);
return $options;
}