GraphQLInterface.php in GraphQL 8.3
Namespace
Drupal\graphql\AnnotationFile
src/Annotation/GraphQLInterface.phpView source
<?php
namespace Drupal\graphql\Annotation;
/**
* Annotation for GraphQL interface plugins.
*
* @Annotation
*/
class GraphQLInterface extends GraphQLAnnotationBase {
/**
* {@inheritdoc}
*/
public $pluginType = GRAPHQL_INTERFACE_PLUGIN;
/**
* The list of parent interfaces this interface extends.
*
* Fields attached to interfaces will be inherited.
*
* @var string[]
*/
public $interfaces = [];
/**
* The typed data type of this type.
*
* @var string|null
*/
public $type = NULL;
}
Classes
Name | Description |
---|---|
GraphQLInterface | Annotation for GraphQL interface plugins. |