You are here

function calendar_plugin_display_block::defaultable_sections in Calendar 7

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

List which sections are defaultable and what items each section contains.

Overrides views_plugin_display::defaultable_sections

File

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

Class

calendar_plugin_display_block
The plugin that handles a calendar block.

Code

function defaultable_sections($section = NULL) {
  if (in_array($section, array(
    'style_plugin',
    'row_options',
    'row_plugin',
    'items_per_page',
  ))) {
    return FALSE;
  }
  return parent::defaultable_sections($section);
}