public function ConnectionQueryHelperInterface::getSortField in Open Social 10.1.x
Same name and namespace in other branches
- 10.3.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getSortField()
- 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getSortField()
- 10.2.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\GraphQLCode
public function getSortField() : string;