You are here

public function Block::usesExposed in Views (for Drupal 7) 8.3

Block views use exposed widgets only if AJAX is set.

Overrides DisplayPluginBase::usesExposed

1 call to Block::usesExposed()
Block::buildOptionsForm in lib/Views/block/Plugin/views/display/Block.php
Provide the default form for setting options.

File

lib/Views/block/Plugin/views/display/Block.php, line 211
Definition of Drupal\views\Plugin\views\display\Block. Definition of Views\block\Plugin\views\display\Block.

Class

Block
The plugin that handles a block.

Namespace

Views\block\Plugin\views\display

Code

public function usesExposed() {
  if ($this
    ->isAJAXEnabled()) {
    return parent::usesExposed();
  }
  return FALSE;
}