Structure ​
- Type
- Abstract Class
- Namespace
- craft\gql\interfaces
- Inherits
- craft\gql\interfaces\Structure » craft\gql\interfaces\Element » craft\gql\base\InterfaceType
- Uses traits
- craft\gql\base\GqlTypeTrait
- Extended by
- craft\gql\interfaces\elements\Category, craft\gql\interfaces\elements\Entry
- Since
- 3.3.0
Class Structure
Public Methods ​
Method | Description |
---|---|
getDraftFieldDefinitions() | List the draft field definitions. |
getFieldDefinitions() | List of fields for this type. |
getName() | Returns the schema object name |
getType() | Returns an instance of this schema object's type as provided by entity registry |
getTypeGenerator() | Returns the associated type generator class. |
resolveElementTypeName() | Resolve an element type name. |
getFieldDefinitions()
​
List of fields for this type.
Returns ​
getName()
​
Returns the schema object name
Returns ​
Protected Methods ​
Method | Description |
---|---|
getConditionalFields() | Return conditional fields for this type. |