You are here

public function DisplayPluginBase::useGroupBy in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/display/DisplayPluginBase.php \Drupal\views\Plugin\views\display\DisplayPluginBase::useGroupBy()

Does the display have groupby enabled?

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 338

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

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