You are here

public function SchemaBuilderInterface::processType in GraphQL 8.3

Processes a optimized type definition structure.

Parameters

array $type: The type definition with the first array element representing the name of the type and the second array element representing the list of decorators to apply to the type.

Return value

\GraphQL\Type\Definition\Type The decorated type instance corresponding to the given type definition.

1 method overrides SchemaBuilderInterface::processType()
SchemaPluginBase::processType in src/Plugin/GraphQL/Schemas/SchemaPluginBase.php
Processes a optimized type definition structure.

File

src/Plugin/SchemaBuilderInterface.php, line 177

Class

SchemaBuilderInterface

Namespace

Drupal\graphql\Plugin

Code

public function processType(array $type);