You are here

public function DisplayPluginBase::useGroupBy in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 340
Contains \Drupal\views\Plugin\views\display\DisplayPluginBase.

Class

DisplayPluginBase
Base class for views display plugins.

Namespace

Drupal\views\Plugin\views\display

Code

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