You are here

public function ResolverRegistryInterface::getFieldResolver in GraphQL 8.4

Return the field resolver for a given type and field name.

Parameters

string $type:

string $field:

Return value

callable|null

1 method overrides ResolverRegistryInterface::getFieldResolver()
ResolverRegistry::getFieldResolver in src/GraphQL/ResolverRegistry.php
Return the field resolver for a given type and field name.

File

src/GraphQL/ResolverRegistryInterface.php, line 58

Class

ResolverRegistryInterface
Defines a registry to resolve any field in the GraphQL schema tree.

Namespace

Drupal\graphql\GraphQL

Code

public function getFieldResolver($type, $field);