Mutation ​
- Type
- Class
- Namespace
- craft\gql\types
- Inherits
- craft\gql\types\Mutation
- Uses traits
- craft\gql\base\GqlTypeTrait
- Since
- 3.5.0
Class Mutation
Public Methods ​
| Method | Description |
|---|---|
| getFieldDefinitions() | |
| getName() | Returns the GraphQL type name. |
| getType() | Returns an instance of this schema object's type as provided by entity registry |
getFieldDefinitions() ​
Throws ​
- craft\errors\GqlException
if class called incorrectly.
getName() ​
Returns the GraphQL type name.
Protected Methods ​
| Method | Description |
|---|---|
| getConditionalFields() | Return conditional fields for this type. |