protected function ResolverRegistry::resolveFieldDefault in GraphQL 8.4
Resolves a default value for a field.
Parameters
mixed $value:
mixed $args:
\Drupal\graphql\GraphQL\Execution\ResolveContext $context:
\GraphQL\Type\Definition\ResolveInfo $info:
\Drupal\graphql\GraphQL\Execution\FieldContext $field:
Return value
mixed|null
File
- src/
GraphQL/ ResolverRegistry.php, line 212
Class
- ResolverRegistry
- Contains all the mappings how to resolve a GraphQL request.
Namespace
Drupal\graphql\GraphQLCode
protected function resolveFieldDefault($value, $args, ResolveContext $context, ResolveInfo $info, FieldContext $field) {
return Executor::defaultFieldResolver($value, $args, $context, $info);
}