You are here

public function ConnectionQueryHelperInterface::getSortField 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::getSortField()
  2. 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getSortField()
  3. 10.1.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getSortField()

Returns the name of the field to use for sorting this connection.

The cursor value will be used with this field.

Return value

string The sort field name.

File

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

Class

ConnectionQueryHelperInterface
Provides an interface for a connection query helper.

Namespace

Drupal\social_graphql\GraphQL

Code

public function getSortField() : string;