function 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 381

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.