protected function prepareRevertedRevision(NodeInterface $revision, FormStateInterface $form_state) {
    $revision->setNewRevision();
    $revision->isDefaultRevision(TRUE);
    $revision->setRevisionTranslationAffected(TRUE);
    return $revision;
  }
protected function prepareRevertedRevision(NodeInterface $revision, FormStateInterface $form_state) {
    $revision->setNewRevision();
    $revision->isDefaultRevision(TRUE);
    $revision->setRevisionTranslationAffected(TRUE);
    return $revision;
  }
protected function prepareRevertedRevision ( NodeInterface $ revision , FormStateInterface $ form_state ) { $ revision -> setNewRevision ( ) ; $ revision -> isDefaultRevision ( TRUE ) ; $ revision -> setRevisionTranslationAffected ( TRUE ) ; return $ revision ; }
{@inheritdoc}
{