function FieldPluginBase::useStringGroupBy

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::useStringGroupBy()
  2. 10 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::useStringGroupBy()
  3. 11.x core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::useStringGroupBy()

Determines if this field will be available as an option to group the result by in the style settings.

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 425

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.