protected function prepareRevertedRevision(OpenyUpgradeLogInterface $revision, FormStateInterface $form_state) {
    $revision->setNewRevision();
    $revision->isDefaultRevision();
    $revision->setRevisionCreationTime(REQUEST_TIME);

    return $revision;
  }