You are here

function calendar_plugin_display_page::defaultable_sections in Calendar 7.2

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

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

Overrides views_plugin_display::defaultable_sections

File

includes/calendar_plugin_display_page.inc, line 51
Views page plugin for the Calendar module.

Class

calendar_plugin_display_page
The plugin that handles a full calendar page.

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);
}