DNADesign\Elemental\GraphQL\SortBlockMutationCreator
Given a source block ID and the ID of the block to reorder the source block after, update all affected sort orders for the block and its siblings. Only the source block will have a new version written, all siblings will be updated underneath the ORM to avoid this.
Synopsis
class SortBlockMutationCreator
extends MutationCreator
implements
OperationResolver
{
- // methods
- public void attributes()
- public void type()
- public void args()
- public void resolve()
Hierarchy
Extends
- SilverStripe\GraphQL\MutationCreator
Implements
- SilverStripe\GraphQL\OperationResolver