1 entity.query.inc | public EntityFieldQuery::count() |
Sets the query to be a count query only.
Return value
EntityFieldQuery: The called object.
File
- core/
modules/ entity/ entity.query.inc, line 563 - Entity query API.
Class
- EntityFieldQuery
- Retrieves entities matching a given set of conditions.
Code
public function count() {
$this->count = TRUE;
return $this;
}