interface SchemaExtensionPluginInterface in GraphQL 8.4
Defines plugins that can extend the GraphQL schema definition.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface; interface \Drupal\Component\Plugin\DerivativeInspectionInterface
- interface \Drupal\graphql\Plugin\SchemaExtensionPluginInterface
Expanded class hierarchy of SchemaExtensionPluginInterface
All classes that implement SchemaExtensionPluginInterface
2 files declare their use of SchemaExtensionPluginInterface
- SdlSchemaExtensionPluginBase.php in src/
Plugin/ GraphQL/ SchemaExtension/ SdlSchemaExtensionPluginBase.php - SdlSchemaPluginBase.php in src/
Plugin/ GraphQL/ Schema/ SdlSchemaPluginBase.php
1 string reference to 'SchemaExtensionPluginInterface'
File
- src/
Plugin/ SchemaExtensionPluginInterface.php, line 12
Namespace
Drupal\graphql\PluginView source
interface SchemaExtensionPluginInterface extends PluginInspectionInterface, DerivativeInspectionInterface {
/**
* Registers type and field resolvers in the shared registry.
*
* @param \Drupal\graphql\GraphQL\ResolverRegistryInterface $registry
* The resolver registry.
*/
public function registerResolvers(ResolverRegistryInterface $registry);
/**
* Retrieves the base schema definition.
*
* @return string|null
* The base schema definition.
*/
public function getBaseDefinition();
/**
* Retrieves the extension schema definition.
*
* @return string|null
* The extension schema definition.
*/
public function getExtensionDefinition();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DerivativeInspectionInterface:: |
public | function | Gets the base_plugin_id of the plugin instance. | 1 |
DerivativeInspectionInterface:: |
public | function | Gets the derivative_id of the plugin instance. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |
SchemaExtensionPluginInterface:: |
public | function | Retrieves the base schema definition. | 1 |
SchemaExtensionPluginInterface:: |
public | function | Retrieves the extension schema definition. | 1 |
SchemaExtensionPluginInterface:: |
public | function | Registers type and field resolvers in the shared registry. | 2 |