You are here

public function FilterPluginBase::isAGroup in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::isAGroup()
  2. 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.

11 calls to FilterPluginBase::isAGroup()
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.
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.
FilterPluginBase::multipleExposedInput in core/modules/views/src/Plugin/views/filter/FilterPluginBase.php
Returns TRUE if users can select multiple groups items of a grouped exposed filter.

... See full list

File

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

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']);
}