function EntityFieldQuery::count
Sets the query to be a count query only.
Return value
EntityFieldQuery The called object.
File
-
includes/
entity.inc, line 1009
Class
- EntityFieldQuery
- Retrieves entities matching a given set of conditions.
Code
public function count() {
$this->count = TRUE;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.