You are here

public function ConnectionQueryHelperInterface::getQuery in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getQuery()
  2. 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getQuery()
  3. 10.1.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getQuery()

Get the query that's at the root of this connection.

This is a good place to apply any filtering that has been provided by the client.

Return value

\Drupal\Core\Entity\Query\QueryInterface An entity query or aggregate entity query.

File

modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php, line 27

Class

ConnectionQueryHelperInterface
Provides an interface for a connection query helper.

Namespace

Drupal\social_graphql\GraphQL

Code

public function getQuery() : QueryInterface;