function QueryAggregate::prepare
Same name in this branch
- 11.1.x core/modules/workspaces/src/EntityQuery/QueryAggregate.php \Drupal\workspaces\EntityQuery\QueryAggregate::prepare()
Overrides Query::prepare
1 method overrides QueryAggregate::prepare()
- QueryAggregate::prepare in core/
modules/ workspaces/ src/ EntityQuery/ QueryAggregate.php - Prepares the basic query with proper metadata/tags and base fields.
File
-
core/
lib/ Drupal/ Core/ Entity/ Query/ Sql/ QueryAggregate.php, line 39
Class
- QueryAggregate
- The SQL storage entity query aggregate class.
Namespace
Drupal\Core\Entity\Query\SqlCode
public function prepare() {
parent::prepare();
// Throw away the id fields.
$this->sqlFields = [];
return $this;
}