Tag
- Type
- Class
- Namespace
- craft\gql\mutations
- Inherits
- craft\gql\mutations\Tag » craft\gql\base\Mutation
- Uses traits
- craft\gql\base\GqlTypeTrait
- Since
- 3.5.0
Class Tag
View source (opens new window)
# Public Methods
Method | Description |
---|---|
createSaveMutation() | Create the per-tag-group save mutation. |
getMutations() | Returns the mutations defined by the class as an array. |
getType() | Returns an instance of this schema object's type as provided by entity registry |
# createSaveMutation()
Create the per-tag-group save mutation.
View source (opens new window)
Arguments
$tagGroup
(craft\models\TagGroup)
Returns
Throws
# getMutations()
Returns the mutations defined by the class as an array.
View source (opens new window)
Returns
# Protected Methods
Method | Description |
---|---|
getConditionalFields() | Return conditional fields for this type. |
prepareResolver() | Load content fields and value normalizers on the resolver, based on content fields. |