Skip to content

Query

Type
Class
Namespace
craft\gql\types
Inherits
craft\gql\types\Query
Uses traits
craft\gql\base\GqlTypeTrait
Since
3.3.0

Class Query

View source

Public Methods

MethodDescription
getFieldDefinitions()
getName()Returns the GraphQL type name.
getType()Returns an instance of this schema object's type as provided by entity registry

getFieldDefinitions()

View source

Throws

getName()

Returns the GraphQL type name.

View source

Protected Methods

MethodDescription
getConditionalFields()Return conditional fields for this type.