You are here

function calendar_plugin_display_attachment::defaultable_sections in Calendar 7

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

Take away the option to change these values.

Overrides views_plugin_display::defaultable_sections

File

includes/calendar_plugin_display_attachment.inc, line 241
Views display plugin for the Calendar module.

Class

calendar_plugin_display_attachment
The plugin that handles calendar attachment displays.

Code

function defaultable_sections($section = NULL) {
  if (in_array($section, array(
    'inherit_argments',
    'inherit_filters',
    'attachment_position',
  ))) {
    return FALSE;
  }
  return parent::defaultable_sections($section);
}