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

Method Description
getRelatedElement() Get the related element.
performStructureOperations()

# getRelatedElement()

Get the related element.

View source

Arguments

  • $elementId

Returns

craft\base\ElementInterface

# performStructureOperations()

View source

Arguments

  • $element
  • $arguments