You are here

function views_plugin_display_attachment::uses_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::uses_exposed()
  2. 7.3 plugins/views_plugin_display_attachment.inc \views_plugin_display_attachment::uses_exposed()

Attachment displays only use exposed widgets if they are set to inherit the exposed filter settings of their parent display.

Overrides views_plugin_display::uses_exposed

File

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

Class

views_plugin_display_attachment
The plugin that handles an attachment display.

Code

function uses_exposed() {
  if (!empty($this->options['inherit_exposed_filters']) && parent::uses_exposed()) {
    return TRUE;
  }
  return FALSE;
}