Variant

Type
Class
Namespace
craft\commerce\gql\queries
Inherits
craft\commerce\gql\queries\Variant ยป craft\gql\base\Query
Uses traits
craft\gql\base\GqlTypeTrait
Since
3.1

Class Variant

View source

# Public Methods

Method Description
getFieldDefinitions() List of fields for this type.
getQueries() Returns the queries defined by the class as an array.
getType() Returns an instance of this schema object's type as provided by entity registry

# getQueries()

Returns the queries defined by the class as an array.

View source

Arguments

Returns

array

# Protected Methods

Method Description
getConditionalFields() Return conditional fields for this type.