You are here

interface SchemaPluginInterface in GraphQL 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/SchemaPluginInterface.php \Drupal\graphql\Plugin\SchemaPluginInterface

Hierarchy

Expanded class hierarchy of SchemaPluginInterface

All classes that implement SchemaPluginInterface

2 files declare their use of SchemaPluginInterface
SchemaPluginBase.php in src/Plugin/GraphQL/Schemas/SchemaPluginBase.php
TestSchema.php in tests/modules/graphql_test/src/Plugin/GraphQL/Schemas/TestSchema.php
1 string reference to 'SchemaPluginInterface'
graphql.services.yml in ./graphql.services.yml
graphql.services.yml

File

src/Plugin/SchemaPluginInterface.php, line 8

Namespace

Drupal\graphql\Plugin
View source
interface SchemaPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {

  /**
   * Retrieves the schema.
   *
   * @return \GraphQL\Type\Schema
   *   The schema.
   */
  public function getSchema();

  /**
   * Validates the schema.
   *
   * @return null|array
   */
  public function validateSchema();

  /**
   * @return mixed
   */
  public function getServer();

}

Members

Namesort descending Modifiers Type Description Overrides
DerivativeInspectionInterface::getBaseId public function Gets the base_plugin_id of the plugin instance. 1
DerivativeInspectionInterface::getDerivativeId public function Gets the derivative_id of the plugin instance. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2
SchemaPluginInterface::getSchema public function Retrieves the schema. 1
SchemaPluginInterface::getServer public function 1
SchemaPluginInterface::validateSchema public function Validates the schema. 1