You are here

public function HandlerBase::isExposed in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

TRUE/FALSE

4 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.
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 570
Contains \Drupal\views\Plugin\views\HandlerBase.

Class

HandlerBase
Base class for Views handler plugins.

Namespace

Drupal\views\Plugin\views

Code

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