EntityFieldQuery::count

7 entity.inc public EntityFieldQuery::count()
8 entity.query.inc public EntityFieldQuery::count()

Sets the query to be a count query only.

Return value

EntityFieldQuery The called object.

File

includes/entity.inc, line 930

Code

public function count() {
  $this->count = TRUE;
  return $this;
}
Login or register to post comments