public function SchemaBuilderInterface::getType in GraphQL 8.3
Retrieve the type instance for a given type name.
Parameters
string $name: The name of the type to retrieve the type instance for.
Return value
\GraphQL\Type\Definition\Type The type instance corresponding to the given type name.
1 method overrides SchemaBuilderInterface::getType()
- SchemaPluginBase::getType in src/
Plugin/ GraphQL/ Schemas/ SchemaPluginBase.php - Retrieve the type instance for a given type name.
File
- src/
Plugin/ SchemaBuilderInterface.php, line 120
Class
Namespace
Drupal\graphql\PluginCode
public function getType($name);