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 (opens new window)
# Protected Methods
Method | Description |
---|---|
getRelatedElement() | Get the related element. |
performStructureOperations() |
# getRelatedElement()
Get the related element.
View source (opens new window)
Arguments
$elementId
(integer (opens new window))
Returns
# performStructureOperations()
View source (opens new window)
Arguments
$element
(craft\base\ElementInterface)$arguments
(array (opens new window))