PageModuleExtension::onAfterReorderItems
SortableGridField doesn't play nice with versioned data objects.
Altering the order will only update the draft stage. This extension hooks into the reorder event and pushes the changes through to Live.
Signature
public function onAfterReorderItems(HastManyList
$list )
Parameters
$list
— object- The list of modules