public function ConnectionInterface::nodes in Open Social 10.2.x
Same name and namespace in other branches
- 10.3.x modules/custom/social_graphql/src/GraphQL/ConnectionInterface.php \Drupal\social_graphql\GraphQL\ConnectionInterface::nodes()
- 10.0.x modules/custom/social_graphql/src/GraphQL/ConnectionInterface.php \Drupal\social_graphql\GraphQL\ConnectionInterface::nodes()
- 10.1.x modules/custom/social_graphql/src/GraphQL/ConnectionInterface.php \Drupal\social_graphql\GraphQL\ConnectionInterface::nodes()
Get hte nodes for this connection.
This allows bypassing of the edges in case edge information isn't needed.
Return value
\GraphQL\Executor\Promise\Adapter\SyncPromise A promise that resolves to an array of entities.
File
- modules/
custom/ social_graphql/ src/ GraphQL/ ConnectionInterface.php, line 57
Class
- ConnectionInterface
- Provides the interface for connections.
Namespace
Drupal\social_graphql\GraphQLCode
public function nodes() : SyncPromise;