QueryBase::groupBy

public QueryBase::groupBy($field, $langcode = NULL)

File

core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 424

Class

QueryBase
The base entity query class.

Namespace

Drupal\Core\Entity\Query

Code

public function groupBy($field, $langcode = NULL) {
  $this->groupBy[] = array(
    'field' => $field,
    'langcode' => $langcode,
  );

  return $this;
}
doc_Drupal
2016-10-29 09:35:42
Comments
Leave a Comment

Please login to continue.