public function 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.

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/field/FieldPluginBase.php, line 405
Definition of Drupal\views\Plugin\views\field\FieldPluginBase.

Class

FieldPluginBase
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function useStringGroupBy() {
  return TRUE;
}