public function ConnectionQueryHelperInterface::getIdField in Open Social 10.3.x
Same name and namespace in other branches
- 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getIdField()
- 10.1.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getIdField()
- 10.2.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getIdField()
Returns the name of the ID field of this query.
The ID field is used as fallback in case entities have the same value for the sort field. This ensures a stable sort in all cases.
Return value
string The query field name to use as ID.
File
- modules/
custom/ social_graphql/ src/ GraphQL/ ConnectionQueryHelperInterface.php, line 50
Class
- ConnectionQueryHelperInterface
- Provides an interface for a connection query helper.
Namespace
Drupal\social_graphql\GraphQLCode
public function getIdField() : string;