public function DataProducerPluginInterface::resolveField in GraphQL 8.4
Resolves the queried field with the given context.
Parameters
\Drupal\graphql\GraphQL\Execution\FieldContext $field:
Return value
\GraphQL\Deferred|mixed
1 method overrides DataProducerPluginInterface::resolveField()
- DataProducerPluginBase::resolveField in src/
Plugin/ GraphQL/ DataProducer/ DataProducerPluginBase.php - Resolves the queried field with the given context.
File
- src/
Plugin/ DataProducerPluginInterface.php, line 25
Class
- DataProducerPluginInterface
- Defines the contract of data producer plugins.
Namespace
Drupal\graphql\PluginCode
public function resolveField(FieldContext $field);