You are here

public function FilterPluginBase::isAGroup in Views (for Drupal 7) 8.3

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

Overrides HandlerBase::isAGroup

11 calls to FilterPluginBase::isAGroup()
BooleanOperator::adminSummary in lib/Drupal/views/Plugin/views/filter/BooleanOperator.php
Display the filter on the administrative summary
FilterPluginBase::buildOptionsForm in lib/Drupal/views/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::convert_exposed_input in lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
FilterPluginBase::exposedInfo in lib/Drupal/views/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 lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php
Returns TRUE if users can select multiple groups items of a grouped exposed filter.

... See full list

File

lib/Drupal/views/Plugin/views/filter/FilterPluginBase.php, line 182
Definition of Drupal\views\Plugin\views\filter\FilterPluginBase.

Class

FilterPluginBase
Base class for filters.

Namespace

Drupal\views\Plugin\views\filter

Code

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