class SortBlockMutationCreator extends MutationCreator implements OperationResolver (View source)

deprecated 4.8.0 Use silverstripe/graphql:^4 functionality instead

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.

Methods

__construct(Manager $manager = null)

No description

attributes()

No description

type()

No description

args()

No description

resolve($object, array $args, $context, ResolveInfo $info)

No description

Details

__construct(Manager $manager = null)

Parameters

Manager $manager

attributes()

type()

args()

resolve($object, array $args, $context, ResolveInfo $info)

Parameters

$object
array $args
$context
ResolveInfo $info