function views_plugin_display_block::uses_exposed

Same name in other branches
  1. 7.x-3.x 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 181

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