You are here

function views_plugin_display_attachment::displays_exposed in Views (for Drupal 7) 6.3

Same name and namespace in other branches
  1. 6.2 plugins/views_plugin_display_attachment.inc \views_plugin_display_attachment::displays_exposed()
  2. 7.3 plugins/views_plugin_display_attachment.inc \views_plugin_display_attachment::displays_exposed()

If an attachment is set to inherit the exposed filter settings from its parent display, then don't render and display a second set of exposed filter widgets.

Overrides views_plugin_display::displays_exposed

File

plugins/views_plugin_display_attachment.inc, line 265
Contains the attachment display plugin.

Class

views_plugin_display_attachment
The plugin that handles an attachment display.

Code

function displays_exposed() {
  return $this->options['inherit_exposed_filters'] ? FALSE : TRUE;
}