public function ConnectionQueryHelperInterface::getAggregateSortFunction 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::getAggregateSortFunction()
- 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getAggregateSortFunction()
- 10.2.x modules/custom/social_graphql/src/GraphQL/ConnectionQueryHelperInterface.php \Drupal\social_graphql\GraphQL\ConnectionQueryHelperInterface::getAggregateSortFunction()
The function to use for aggregate sorting.
@todo Move this to a separate interface.
Return value
string|null The aggregate sort function or NULL if aggregate sorting shouldn't be used.
See also
\Drupal\Core\Entity\Query\QueryAggregateInterface::sortAggregate
File
- modules/
custom/ social_graphql/ src/ GraphQL/ ConnectionQueryHelperInterface.php, line 73
Class
- ConnectionQueryHelperInterface
- Provides an interface for a connection query helper.
Namespace
Drupal\social_graphql\GraphQLCode
public function getAggregateSortFunction() : ?string;