You are here

Classes, traits, and interfaces in GraphQL 8.4

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
Argument class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/Argument.php Resolves by an argument name lookup. 1
ArticleResponse class Drupal\graphql_composable\GraphQL\Response examples/graphql_composable/src/GraphQL/Response/ArticleResponse.php Type of response used when an article is returned. 2
ArticleResponse class Drupal\graphql_composable\Wrappers\Response examples/graphql_composable/src/Wrappers/Response/ArticleResponse.php Type of response used when an article is returned.
BufferBase abstract class Drupal\graphql\GraphQL\Buffers src/GraphQL/Buffers/BufferBase.php Base class for field buffering services. 3 1
BufferedFieldTest class Drupal\Tests\graphql\Kernel\Framework tests/src/Kernel/Framework/BufferedFieldTest.php Test batched field resolving.
Callback class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/Callback.php Resolves by invoking a callback for the field. 2
ComposableSchema class Drupal\graphql\Plugin\GraphQL\Schema src/Plugin/GraphQL/Schema/ComposableSchema.php Plugin annotation @Schema( id = "composable", name = "Composable schema" ) 1 1
ComposableSchemaExample class Drupal\graphql_composable\Plugin\GraphQL\Schema examples/graphql_composable/src/Plugin/GraphQL/Schema/ComposableSchemaExample.php Plugin annotation @Schema( id = "composable", name = "Composable Example schema", extensions = "composable", )
ComposableSchemaExampleExtension class Drupal\graphql_composable\Plugin\GraphQL\SchemaExtension examples/graphql_composable/src/Plugin/GraphQL/SchemaExtension/ComposableSchemaExampleExtension.php Plugin annotation @SchemaExtension( id = "composable_extension", name = "Composable Example extension", description = "A simple extension that adds node related fields.", schema = "composable" )
Composite class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/Composite.php Resolves by calling a chain of resolvers after each other. 1
Condition class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/Condition.php Conditional resolver. 1
Context class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/Context.php Resolves a context value with default value support. 1
CreateArticle class Drupal\graphql_composable\Plugin\GraphQL\DataProducer examples/graphql_composable/src/Plugin/GraphQL/DataProducer/CreateArticle.php Creates a new article entity.
CurrentLanguageResetTrait trait Drupal\graphql\EventSubscriber src/EventSubscriber/CurrentLanguageResetTrait.php Sets the current language for the current request.
CurrentUser class Drupal\graphql\Plugin\GraphQL\DataProducer\User src/Plugin/GraphQL/DataProducer/User/CurrentUser.php Gets the current user.
DataProducer class Drupal\graphql\Annotation src/Annotation/DataProducer.php Annotation for data producer plugins. 1
DataProducerExecutionTrait trait Drupal\Tests\graphql\Traits tests/src/Traits/DataProducerExecutionTrait.php Helper trait for testing data producers. 1
DataProducerPluginBase abstract class Drupal\graphql\Plugin\GraphQL\DataProducer src/Plugin/GraphQL/DataProducer/DataProducerPluginBase.php Base class for data producers that resolve fields for queries or mutations. 65 65
DataProducerPluginCachingInterface interface Drupal\graphql\Plugin src/Plugin/DataProducerPluginCachingInterface.php Defines cachable data producer plugins. 1 2
DataProducerPluginCachingTrait trait Drupal\graphql\Plugin\GraphQL\DataProducer src/Plugin/GraphQL/DataProducer/DataProducerPluginCachingTrait.php Cache prefix implementation for data producers.
DataProducerPluginInterface interface Drupal\graphql\Plugin src/Plugin/DataProducerPluginInterface.php Defines the contract of data producer plugins. 2 2 1
DataProducerPluginManager class Drupal\graphql\Plugin src/Plugin/DataProducerPluginManager.php Collects data producer plugins that are composed to read and write data. 1 2
DataProducerProxy class Drupal\graphql\Plugin\GraphQL\DataProducer src/Plugin/GraphQL/DataProducer/DataProducerProxy.php A proxy class that lazy resolves data producers and has a result cache. 2
DefaultValue class Drupal\graphql\GraphQL\Resolver src/GraphQL/Resolver/DefaultValue.php Default value resolver. 1
DefaultValue class Drupal\graphql\Plugin\GraphQL\DataProducer\EntityDefinition\Fields src/Plugin/GraphQL/DataProducer/EntityDefinition/Fields/DefaultValue.php Retrieves the "default_value" property from a given field definition.
DeferredUtility class Drupal\graphql\GraphQL\Utility src/GraphQL/Utility/DeferredUtility.php Helper class for dealing with deferred promises. 5
Description class Drupal\graphql\Plugin\GraphQL\DataProducer\EntityDefinition\Fields src/Plugin/GraphQL/DataProducer/EntityDefinition/Fields/Description.php Retrieves the "description" from a given field definition.
DisabledResultCacheTest class Drupal\Tests\graphql\Kernel\Framework tests/src/Kernel/Framework/DisabledResultCacheTest.php Test disabled result cache.
DocumentSerializer class Drupal\graphql\GraphQL\Utility src/GraphQL/Utility/DocumentSerializer.php Cleans up AST recursively for serialization. 1
EntityAccess class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityAccess.php Returns whether the given user has access to the entity.
EntityBuffer class Drupal\graphql\GraphQL\Buffers src/GraphQL/Buffers/EntityBuffer.php Collects entity IDs per entity type and loads them all at once in the end. 5 2
EntityBufferTest class Drupal\Tests\graphql\Kernel tests/src/Kernel/EntityBufferTest.php Tests the entity buffer system that it returns the correct cache metadata.
EntityBundle class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityBundle.php Returns the bundle name of the entity.
EntityChanged class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityChanged.php Returns the changed time of an entity if it supports it.
EntityCreated class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityCreated.php Returns the created time of an entity if it supports it.
EntityDefinition class Drupal\graphql\Plugin\GraphQL\DataProducer\EntityDefinition src/Plugin/GraphQL/DataProducer/EntityDefinition/EntityDefinition.php Gets entity definition for a given entity type.
EntityDefinitionTest class Drupal\Tests\graphql\Kernel\DataProducer tests/src/Kernel/DataProducer/EntityDefinitionTest.php Test the entity_definition data producer and friends.
EntityDescription class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityDescription.php Returns the description text of an entity.
EntityId class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityId.php Returns the ID of an entity.
EntityLabel class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityLabel.php Returns the labels of an entity.
EntityLanguage class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityLanguage.php Returns the language of an entity.
EntityLoad class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityLoad.php Loads a single entity.
EntityLoadByUuid class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityLoadByUuid.php Loads an entity by UUID.
EntityLoadMultiple class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityLoadMultiple.php Load multiple entities by IDs.
EntityMultipleTest class Drupal\Tests\graphql\Kernel\DataProducer tests/src/Kernel/DataProducer/EntityMultipleTest.php Data producers Entity multiple test class.
EntityOwner class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityOwner.php Returns the user that owns the entity.
EntityPublished class Drupal\graphql\Plugin\GraphQL\DataProducer\Entity src/Plugin/GraphQL/DataProducer/Entity/EntityPublished.php Returns whether the entity is published.
EntityReference class Drupal\graphql\Plugin\GraphQL\DataProducer\Field src/Plugin/GraphQL/DataProducer/Field/EntityReference.php Loads entities from an entity reference field.
EntityReferenceLayoutRevisions class Drupal\graphql\Plugin\GraphQL\DataProducer\Field src/Plugin/GraphQL/DataProducer/Field/EntityReferenceLayoutRevisions.php Loads the entity reference layout revisions.
EntityReferenceRevisions class Drupal\graphql\Plugin\GraphQL\DataProducer\Field src/Plugin/GraphQL/DataProducer/Field/EntityReferenceRevisions.php Loads the entity reference revisions.

Pages

Other projects