VariantType

Type
Class
Namespace
craft\commerce\gql\types\generators
Inherits
craft\commerce\gql\types\generators\VariantType
Implements
craft\gql\base\GeneratorInterface (opens new window)
Since
3.1

Class VariantType

View source (opens new window)

# Public Methods

Method Description
generateTypes() Generate GraphQL types.

# generateTypes()

Generate GraphQL types.

View source (opens new window)

Arguments

  • $context (mixed) – Context for generated types

Returns

craft\gql\base\ObjectType (opens new window)