You are here

public function OpenSocialBaseSchema::getSchema in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/custom/social_graphql/src/Plugin/GraphQL/Schema/OpenSocialBaseSchema.php \Drupal\social_graphql\Plugin\GraphQL\Schema\OpenSocialBaseSchema::getSchema()
  2. 10.0.x modules/custom/social_graphql/src/Plugin/GraphQL/Schema/OpenSocialBaseSchema.php \Drupal\social_graphql\Plugin\GraphQL\Schema\OpenSocialBaseSchema::getSchema()
  3. 10.1.x modules/custom/social_graphql/src/Plugin/GraphQL/Schema/OpenSocialBaseSchema.php \Drupal\social_graphql\Plugin\GraphQL\Schema\OpenSocialBaseSchema::getSchema()

File

modules/custom/social_graphql/src/Plugin/GraphQL/Schema/OpenSocialBaseSchema.php, line 44

Class

OpenSocialBaseSchema
The provider of the schema base for the Open Social GraphQL API.

Namespace

Drupal\social_graphql\Plugin\GraphQL\Schema

Code

public function getSchema(ResolverRegistryInterface $registry) {

  // Add Open Social base types to the schema.
  $this
    ->getBaseSchema($registry);

  // Instantiate the schema and add all extensions.
  return parent::getSchema($registry);
}