public function SchemaBuilderInterface::getFields in GraphQL 8.3
Retrieves the fields for a given type.
Parameters
string $type: The name of the type to retrieve the fields for.
Return value
array The fields belonging to the given type.
1 method overrides SchemaBuilderInterface::getFields()
- SchemaPluginBase::getFields in src/
Plugin/ GraphQL/ Schemas/ SchemaPluginBase.php - Retrieves the fields for a given type.
File
- src/
Plugin/ SchemaBuilderInterface.php, line 57
Class
Namespace
Drupal\graphql\PluginCode
public function getFields($type);