You are here

public function Block::usesExposed in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/display/Block.php \Drupal\views\Plugin\views\display\Block::usesExposed()

Block views use exposed widgets only if AJAX is set.

Overrides DisplayPluginBase::usesExposed

1 call to Block::usesExposed()
Block::buildOptionsForm in core/modules/views/src/Plugin/views/display/Block.php
Provide the default form for setting options.

File

core/modules/views/src/Plugin/views/display/Block.php, line 353
Contains \Drupal\views\Plugin\views\display\Block.

Class

Block
The plugin that handles a block.

Namespace

Drupal\views\Plugin\views\display

Code

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