Implements \Drupal\Core\Entity\Query\QueryAggregateInterface::execute().
public function groupBy($field, $langcode = NULL) { $this->groupBy[] = array( 'field' => $field, 'langcode' => $langcode, ); return $this; }