You are here

public function ResolverBuilder::fromParent in GraphQL 8.4

Resolves the current value that will be a parent for the field.

Return value

\Drupal\graphql\GraphQL\Resolver\ParentValue

1 call to ResolverBuilder::fromParent()
ResolverBuilder::fromPath in src/GraphQL/ResolverBuilder.php
Add a property path resolver.

File

src/GraphQL/ResolverBuilder.php, line 151

Class

ResolverBuilder
Wires and maps different resolvers together to build the GraphQL tree.

Namespace

Drupal\graphql\GraphQL

Code

public function fromParent() {
  return new ParentValue();
}