You are here

function calendar_plugin_display_attachment::defaultable_sections in Calendar 6.2

Same name and namespace in other branches
  1. 7 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.

File

includes/calendar_plugin_display_attachment.inc, line 233

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