You are here

function calendar_plugin_display_block::options in Calendar 7

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

Override some of the parent options.

Overrides views_object::options

File

includes/calendar_plugin_display_block.inc, line 56
Views block plugin for the Calendar module.

Class

calendar_plugin_display_block
The plugin that handles a calendar block.

Code

function options(&$display) {
  parent::options($display);
  $display['style_plugin'] = 'calendar_nav';
  $display['items_per_page'] = 0;
  $display['row_plugin'] = '';
  $display['defaults']['style_plugin'] = FALSE;
  $display['defaults']['style_options'] = FALSE;
  $display['defaults']['items_per_page'] = FALSE;
  $display['defaults']['row_plugin'] = FALSE;
  $display['defaults']['row_options'] = FALSE;
}