function DisplayPluginBase::useGroupBy

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::useGroupBy()
  2. 8.9.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::useGroupBy()
  3. 11.x core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::useGroupBy()

Overrides DisplayPluginInterface::useGroupBy

1 call to DisplayPluginBase::useGroupBy()
DisplayPluginBase::getHandlers in core/modules/views/src/Plugin/views/display/DisplayPluginBase.php
Get a full array of handlers for $type. This caches them.

File

core/modules/views/src/Plugin/views/display/DisplayPluginBase.php, line 346

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

public function useGroupBy() {
    return $this->getOption('group_by');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.