You are here

public function SchemaPluginInterface::getSchema in GraphQL 8.4

Same name and namespace in other branches
  1. 8.3 src/Plugin/SchemaPluginInterface.php \Drupal\graphql\Plugin\SchemaPluginInterface::getSchema()

Retrieves the schema.

Parameters

\Drupal\graphql\GraphQL\ResolverRegistryInterface $registry: The resolver registry.

Return value

\GraphQL\Type\Schema The schema.

1 method overrides SchemaPluginInterface::getSchema()
SdlSchemaPluginBase::getSchema in src/Plugin/GraphQL/Schema/SdlSchemaPluginBase.php

File

src/Plugin/SchemaPluginInterface.php, line 26

Class

SchemaPluginInterface
Defines a schema plugin that returns a GraphQL schema part.

Namespace

Drupal\graphql\Plugin

Code

public function getSchema(ResolverRegistryInterface $registry);