You are here

public function FilterPluginBase::isAGroup in Zircon Profile 8

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

11 calls to FilterPluginBase::isAGroup()
BooleanOperator::adminSummary in core/modules/views/src/Plugin/views/filter/BooleanOperator.php
Display the filter on the administrative summary
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
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 194
Contains \Drupal\views\Plugin\views\filter\FilterPluginBase.

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