function RevisionRevertForm::getEntity
Same name in other branches
- 11.x core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php \Drupal\Core\Entity\Form\RevisionRevertForm::getEntity()
Overrides EntityFormInterface::getEntity
1 call to RevisionRevertForm::getEntity()
- RevisionRevertForm::getQuestion in core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionRevertForm.php
File
-
core/
lib/ Drupal/ Core/ Entity/ Form/ RevisionRevertForm.php, line 270
Class
- RevisionRevertForm
- Provides a form for reverting an entity revision.
Namespace
Drupal\Core\Entity\FormCode
public function getEntity() {
return $this->revision;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.