You are here

function calendar_plugin_display_attachment::option_definition in Calendar 7

Same name and namespace in other branches
  1. 6.2 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::option_definition()
  2. 7.2 includes/calendar_plugin_display_attachment.inc \calendar_plugin_display_attachment::option_definition()

Add custom option definitions.

Overrides views_plugin_display_attachment::option_definition

File

includes/calendar_plugin_display_attachment.inc, line 182
Views display plugin for the Calendar module.

Class

calendar_plugin_display_attachment
The plugin that handles calendar attachment displays.

Code

function option_definition() {
  $options = parent::option_definition();
  $options['calendar_type'] = array(
    'default' => $this
      ->calendar_type(),
  );
  return $options;
}