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

public
__construct(Manager $manager = null)

No description

public
attributes()

No description

public
type()

No description

public
args()

No description

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

No description

Details

__construct(Manager $manager = null)

No description

Parameters

Manager $manager

attributes()

No description

type()

No description

args()

No description

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

No description

Parameters

$object
array $args
$context
ResolveInfo $info