You are here

function calendar_plugin_display_attachment::options_summary in Calendar 6.2

Same name and namespace in other branches
  1. 7 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.

File

includes/calendar_plugin_display_attachment.inc, line 216

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()],
  );
}