function RevisionRevertForm::setEntityTypeManager

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

Overrides EntityFormInterface::setEntityTypeManager

File

core/lib/Drupal/Core/Entity/Form/RevisionRevertForm.php, line 315

Class

RevisionRevertForm
Provides a form for reverting an entity revision.

Namespace

Drupal\Core\Entity\Form

Code

public function setEntityTypeManager(EntityTypeManagerInterface $entity_type_manager) {
    $this->entityTypeManager = $entity_type_manager;
    return $this;
}

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