function HandlerBase::isExposed

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::isExposed()
  2. 8.9.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::isExposed()
  3. 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::isExposed()

Determine if this item is 'exposed'.

Exposed means it provides form elements to let users modify the view.

Return value

bool

5 calls to HandlerBase::isExposed()
FilterPluginBase::canBuildGroup in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Determine if a filter can be converted into a group.
FilterPluginBase::getCacheContexts in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
The cache contexts associated with this object.
FilterPluginBase::isAGroup in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Returns TRUE if the exposed filter works like a grouped filter.
Name::valueForm in core/modules/user/src/Plugin/views/filter/Name.php
Options form subform for setting options.
SortPluginBase::getCacheContexts in core/modules/views/src/Plugin/views/sort/SortPluginBase.php
The cache contexts associated with this object.

File

core/modules/views/src/Plugin/views/HandlerBase.php, line 569

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

public function isExposed() {
    return !empty($this->options['exposed']);
}

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