You are here

function date_plugin_display_attachment::defaultable_sections in Date 7

Same name and namespace in other branches
  1. 6.2 includes/date_plugin_display_attachment.inc \date_plugin_display_attachment::defaultable_sections()
  2. 6 date_api.views.inc \date_plugin_display_attachment::defaultable_sections()

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

Overrides views_plugin_display::defaultable_sections

File

date_views/includes/date_plugin_display_attachment.inc, line 20
Views display plugin for Date API.

Class

date_plugin_display_attachment
The plugin that handles date navigation attachments.

Code

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