You are here

public function HandlerBase::isExposed in Drupal 9

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

Determine if this item is 'exposed', meaning 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. Only exposed filters with operators available can be converted into groups.
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 553

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

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