Skip to content

GlobalSet ​

Type
Class
Namespace
craft\gql\mutations
Inherits
craft\gql\mutations\GlobalSet » craft\gql\base\Mutation
Uses traits
craft\gql\base\GqlTypeTrait
Since
3.5.0

Class GlobalSet

View source

Public Methods ​

MethodDescription
createSaveMutation()Create the per-global-set save mutation.
getFieldDefinitions()List of fields for this type.
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-global-set save mutation.

View source

Arguments ​

Returns ​

array

getMutations() ​

Returns the mutations defined by the class as an array.

View source

Returns ​

array

Protected Methods ​

MethodDescription
getConditionalFields()Return conditional fields for this type.
prepareResolver()Load content fields and value normalizers on the resolver, based on content fields.