Implements Drupal\Core\Entity\Query\QueryInterface::count().
Overrides QueryInterface::count
File
- drupal/core/lib/Drupal/Core/Entity/Query/QueryBase.php, line 156
- Definition of Drupal\Core\Entity\Query\QueryBase.
Class
- QueryBase
- The base entity query class.
Namespace
Drupal\Core\Entity\Query
Code
public function count() {
$this->count = TRUE;
return $this;
}