You are here

function calendar_view_plugin_style::options in Calendar 7

Set default options

Overrides views_object::options

File

includes/calendar_view_plugin_style.inc, line 50
Views calendar style plugin for the Calendar module.

Class

calendar_view_plugin_style
Style plugin to render the year, month, week, or day calendar view.

Code

function options(&$options) {
  $options['name_size'] = 3;
  $options['with_weekno'] = 0;
  $options['multiday_theme'] = module_exists('calendar_multiday') ? '1' : '0';
  $options['theme_style'] = module_exists('calendar_multiday') ? '1' : '0';
  $options['max_items'] = 0;
  $options['max_items_behavior'] = 'more';
  $options['truncated_fields'] = array();
  $options['truncate_length'] = '';
  $options['groupby_times'] = 'hour';
  $options['groupby_times_custom'] = '';
  $options['groupby_field'] = '';
}