function FieldPluginBase::useStringGroupBy

Determines if this field can be grouped in the results.

Return value

bool TRUE if this field handler is groupable, otherwise FALSE.

Overrides FieldHandlerInterface::useStringGroupBy

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 473

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

public function useStringGroupBy() {
  return TRUE;
}

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