class GraphQLInputType in GraphQL 8.3
Annotation for GraphQL input type plugins.
Hierarchy
- class \Drupal\Component\Annotation\Plugin implements AnnotationInterface
- class \Drupal\graphql\Annotation\GraphQLAnnotationBase
- class \Drupal\graphql\Annotation\GraphQLInputType
- class \Drupal\graphql\Annotation\GraphQLAnnotationBase
Expanded class hierarchy of GraphQLInputType
1 file declares its use of GraphQLInputType
- MockGraphQLPluginTrait.php in tests/
src/ Traits/ MockGraphQLPluginTrait.php
1 string reference to 'GraphQLInputType'
4 classes are annotated with GraphQLInputType
- CarInput in tests/
modules/ graphql_plugin_test/ src/ Plugin/ GraphQL/ InputTypes/ CarInput.php - Car input type.
- EntityQueryFilterConditionInput in modules/
graphql_core/ src/ Plugin/ GraphQL/ InputTypes/ EntityQuery/ EntityQueryFilterConditionInput.php - Plugin annotation @GraphQLInputType( id = "entity_query_filter_condition_input", name = "EntityQueryFilterConditionInput", fields = { "field" = "String!", "value" = "[String]", "operator" = "QueryOperator", "language" =…
- EntityQueryFilterInput in modules/
graphql_core/ src/ Plugin/ GraphQL/ InputTypes/ EntityQuery/ EntityQueryFilterInput.php - Plugin annotation @GraphQLInputType( id = "entity_query_filter_input", name = "EntityQueryFilterInput", fields = { "conditions" = "[EntityQueryFilterConditionInput]", "groups" = "[EntityQueryFilterInput]", "conjunction" = { …
- EntityQuerySortInput in modules/
graphql_core/ src/ Plugin/ GraphQL/ InputTypes/ EntityQuery/ EntityQuerySortInput.php - Plugin annotation @GraphQLInputType( id = "entity_query_sort_input", name = "EntityQuerySortInput", fields = { "field" = "String!", "direction" = { "type" = "SortOrder", "default" = "DESC" }, "language" =…
File
- src/
Annotation/ GraphQLInputType.php, line 10
Namespace
Drupal\graphql\AnnotationView source
class GraphQLInputType extends GraphQLAnnotationBase {
/**
* {@inheritdoc}
*/
public $pluginType = GRAPHQL_INPUT_TYPE_PLUGIN;
/**
* List of input fields.
*
* @var array
*/
public $fields = [];
/**
* The typed data type of this type.
*
* @var string|null
*/
public $type = NULL;
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GraphQLAnnotationBase:: |
public | property | The component description. | |
GraphQLAnnotationBase:: |
public | property | The component name. | |
GraphQLAnnotationBase:: |
public | property | The cache contexts for caching the response. | |
GraphQLAnnotationBase:: |
public | property | The cache max age for caching the response. | |
GraphQLAnnotationBase:: |
public | property | The cache tags for caching the response. | |
GraphQLAnnotationBase:: |
public | property | The cache contexts for caching the type system definition in the schema. | |
GraphQLAnnotationBase:: |
public | property | The cache max age for caching the type system definition in the schema. | |
GraphQLAnnotationBase:: |
public | property | The cache tags for caching the type system definition in the schema. | |
GraphQLAnnotationBase:: |
public | property | Weight for precedence calculations. | |
GraphQLAnnotationBase:: |
public | function |
GraphQLAnnotationBase constructor. Overrides Plugin:: |
|
GraphQLInputType:: |
public | property | List of input fields. | |
GraphQLInputType:: |
public | property |
The plugin type. Overrides GraphQLAnnotationBase:: |
|
GraphQLInputType:: |
public | property | The typed data type of this type. | |
Plugin:: |
protected | property | The plugin definition read from the class annotation. | 1 |
Plugin:: |
public | function |
Gets the value of an annotation. Overrides AnnotationInterface:: |
5 |
Plugin:: |
public | function |
Gets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the unique ID for this annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Gets the name of the provider of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
protected | function | Parses an annotation into its definition. | |
Plugin:: |
public | function |
Sets the class of the annotated class. Overrides AnnotationInterface:: |
|
Plugin:: |
public | function |
Sets the name of the provider of the annotated class. Overrides AnnotationInterface:: |