Skip to content

VariantType ​

Type
Class
Namespace
craft\commerce\gql\types\generators
Inherits
craft\commerce\gql\types\generators\VariantType
Implements
craft\gql\base\GeneratorInterface
Since
3.1

Class VariantType

View source

Public Methods ​

MethodDescription
generateTypes()Generate GraphQL types.

generateTypes() ​

Generate GraphQL types.

View source

Arguments ​

  • $context (mixed) – Context for generated types

Returns ​

craft\gql\base\ObjectType