public function EntityFieldQuery::count
Sets the query to be a count query only.
Return value
EntityFieldQuery The called object.
Archivo
- drupal-7.x/
includes/ entity.inc, line 930
Class
- EntityFieldQuery
- Retrieves entities matching a given set of conditions.
Código
public function count() {
$this->count = TRUE;
return $this;
}