function RevisionDeleteForm::getEntity

Same name in other branches
  1. 10 core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php \Drupal\Core\Entity\Form\RevisionDeleteForm::getEntity()

Overrides EntityFormInterface::getEntity

1 call to RevisionDeleteForm::getEntity()
RevisionDeleteForm::getQuestion in core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php
Returns the question to ask the user.

File

core/lib/Drupal/Core/Entity/Form/RevisionDeleteForm.php, line 222

Class

RevisionDeleteForm
Provides a form for deleting an entity revision.

Namespace

Drupal\Core\Entity\Form

Code

public function getEntity() {
    return $this->revision;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.