Skip to content

StructureMutationTrait

Type
Trait
Namespace
craft\gql\base
Implemented by
craft\gql\resolvers\mutations\Category, craft\gql\resolvers\mutations\Entry
Since
3.5.0

Trait StructureMutationTrait

View source

Protected Methods

MethodDescription
getRelatedElement()Get the related element.
performStructureOperations()

getRelatedElement()

Get the related element.

View source

Arguments

  • $elementId (mixed)

Returns

craft\base\ElementInterface

performStructureOperations()

View source

Arguments

  • $element
  • $arguments