You are here

protected function EntityFieldQuery::buildQuery in RESTful 7.2

Builds the SelectQuery and executes finishQuery().

Overrides EntityFieldQuery::buildQuery

1 method overrides EntityFieldQuery::buildQuery()
EntityFieldQuery::buildQuery in src/Util/EntityFieldQuery.php
Builds the SelectQuery and executes finishQuery().

File

src/Util/EntityFieldQuery.php, line 65
Contains \Drupal\restful\Util\EntityFieldQuery.

Class

EntityFieldQuery

Namespace

Drupal\restful\Util

Code

protected function buildQuery() {

  // Make the query be based on the entity table so we can get all the
  // entities.
  $select_query = $this
    ->prePropertyQuery();
  list($select_query, $id_key) = $this
    ->fieldStorageQuery($select_query);
  return $this
    ->finishQuery($select_query, $id_key);
}