You are here

function views_plugin_display_block::uses_exposed in Views (for Drupal 7) 6.2

Same name and namespace in other branches
  1. 6.3 plugins/views_plugin_display_block.inc \views_plugin_display_block::uses_exposed()
  2. 7.3 plugins/views_plugin_display_block.inc \views_plugin_display_block::uses_exposed()

Block views use exposed widgets only if AJAX is set.

Overrides views_plugin_display::uses_exposed

File

plugins/views_plugin_display_block.inc, line 175
Contains the block display plugin.

Class

views_plugin_display_block
The plugin that handles a block.

Code

function uses_exposed() {
  if ($this
    ->use_ajax()) {
    return parent::uses_exposed();
  }
  return FALSE;
}