You are here

function views_content_plugin_display_panel_pane::displays_exposed in Chaos Tool Suite (ctools) 6

Same name and namespace in other branches
  1. 7 views_content/plugins/views/views_content_plugin_display_panel_pane.inc \views_content_plugin_display_panel_pane::displays_exposed()

Determine if this display should display the exposed filters widgets, so the view will know whether or not to render them.

Regardless of what this function returns, exposed filters will not be used nor displayed unless uses_exposed() returns TRUE.

File

views_content/plugins/views/views_content_plugin_display_panel_pane.inc, line 395

Class

views_content_plugin_display_panel_pane
The plugin that handles a panel_pane.

Code

function displays_exposed() {
  $conf = $this
    ->get_option('allow');

  // If this is set, the exposed form is part of pane configuration, not
  // rendered normally.
  return empty($conf['exposed_form']);
}