public function ConnectionNodes::resolve in Open Social 10.0.x
Same name and namespace in other branches
- 10.3.x modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Connection/ConnectionNodes.php \Drupal\social_graphql\Plugin\GraphQL\DataProducer\Connection\ConnectionNodes::resolve()
- 10.1.x modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Connection/ConnectionNodes.php \Drupal\social_graphql\Plugin\GraphQL\DataProducer\Connection\ConnectionNodes::resolve()
- 10.2.x modules/custom/social_graphql/src/Plugin/GraphQL/DataProducer/Connection/ConnectionNodes.php \Drupal\social_graphql\Plugin\GraphQL\DataProducer\Connection\ConnectionNodes::resolve()
Resolves the request.
Parameters
\Drupal\social_graphql\GraphQL\ConnectionInterface $connection: The connection to return the edges from.
Return value
mixed The edges for the connection.
File
- modules/
custom/ social_graphql/ src/ Plugin/ GraphQL/ DataProducer/ Connection/ ConnectionNodes.php, line 37
Class
- ConnectionNodes
- Produces the edges from a connection object.
Namespace
Drupal\social_graphql\Plugin\GraphQL\DataProducer\ConnectionCode
public function resolve(ConnectionInterface $connection) {
return $connection
->nodes();
}