Skip to content

ProductType ​

Type
Class
Namespace
craft\commerce\gql\types\generators
Inherits
craft\commerce\gql\types\generators\ProductType
Implements
craft\gql\base\GeneratorInterface
Since
3.0

Class ProductType

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