You are here

function calendar_plugin_display_attachment::options_summary in Calendar 7

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

Provide the summary for attachment options in the views UI.

This output is returned as an array.

Overrides views_plugin_display_attachment::options_summary

File

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

Class

calendar_plugin_display_attachment
The plugin that handles calendar attachment displays.

Code

function options_summary(&$categories, &$options) {
  parent::options_summary($categories, $options);
  $types = calendar_display_types();
  $categories['calendar_settings'] = array(
    'title' => t('Calendar settings'),
  );
  $options['calendar_type'] = array(
    'category' => 'calendar_settings',
    'title' => t('Calendar period'),
    'value' => $types[$this
      ->calendar_type()],
  );
}