SilverStripe\Versioned\RecursivePublishable::rollbackRelations
Rollback all related objects on this stage.
Note: This method should be called on the source object queried in the appropriate "from" for this rollback, as it will rely on the parent object's query parameters to return nested objects.
Signature
public function rollbackRelations(int|string
$version )
Parameters
$version
— object- Parent version / stage to rollback from