Category ​
- Type
- Class
- Namespace
- craft\gql\interfaces\elements
- Inherits
- craft\gql\interfaces\elements\Category » craft\gql\interfaces\Structure » craft\gql\interfaces\Element » craft\gql\base\InterfaceType
- Implements
- craft\gql\base\SingularTypeInterface
- Since
- 3.3.0
Class Category
Public Methods ​
Method | Description |
---|---|
getDraftFieldDefinitions() | List the draft field definitions. |
getFieldDefinitions() | List of fields for this type. |
getName() | Returns the schema object name |
getType() | Return an instance of the GraphQL type. |
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 ​
getType()
​
Return an instance of the GraphQL type.
Returns ​
\GraphQL\Type\Definition\Type
getTypeGenerator()
​
Returns the associated type generator class.