diff --git a/src/Form/RevisionRevertForm.php b/src/Form/RevisionRevertForm.php
index 005583336519beaf68fe9aa260843e4fca222f96..9bd0a2012081d1878475f2a666d864b99cad5248 100644
--- a/src/Form/RevisionRevertForm.php
+++ b/src/Form/RevisionRevertForm.php
@@ -120,7 +120,7 @@ class RevisionRevertForm extends ConfirmFormBase {
     // The revision timestamp will be updated when the revision is saved. Keep
     // the original one for the confirmation message.
 
-    $this->revision = $this->prepareRevertedRevision($this->revision);
+    $this->revision = $this->prepareRevisionRevert($this->revision);
     if ($this->revision instanceof EntityRevisionLogInterface) {
       $original_revision_timestamp = $this->revision->getRevisionCreationTime();
 
@@ -149,7 +149,7 @@ class RevisionRevertForm extends ConfirmFormBase {
    * @return \Drupal\Core\Entity\RevisionableInterface
    *   The prepared revision ready to be stored.
    */
-  protected function prepareRevertedRevision(RevisionableInterface $revision) {
+  protected function prepareRevisionRevert(RevisionableInterface $revision) {
     $revision->setNewRevision();
     $revision->isDefaultRevision(TRUE);