function HandlerBase::isExposed

Same name and namespace in other branches
  1. 11.x core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::isExposed()
  2. 10 core/modules/views/src/Plugin/views/HandlerBase.php \Drupal\views\Plugin\views\HandlerBase::isExposed()
  3. 8.9.x 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

File

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

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.