You are here

public function FilterPluginBase::isAGroup in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::isAGroup()

Returns TRUE if the exposed filter works like a grouped filter.

Overrides HandlerBase::isAGroup

12 calls to FilterPluginBase::isAGroup()
BooleanOperator::adminSummary in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
Display the filter on the administrative summary
Date::acceptExposedInput in core/modules/views/src/Plugin/views/filter/Date.php
Do some minor translation of the exposed input
FilterPluginBase::buildOptionsForm in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Provide the basic form which calls through to subforms. If overridden, it is best to call through to the parent, or to at least make sure all of the functions in this form are called.
FilterPluginBase::convertExposedInput in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Transform the input from a grouped filter into a standard filter.
FilterPluginBase::exposedInfo in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Tell the renderer about our exposed form. This only needs to be overridden for particularly complex forms. And maybe not even then.

... See full list

File

core/modules/views/src/Plugin/views/filter/FilterPluginBase.php, line 197

Class

FilterPluginBase
Base class for Views filters handler plugins.

Namespace

Drupal\views\Plugin\views\filter

Code

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