Implements \Drupal\Core\Entity\EntityFormControllerInterface::setEntity().
Overrides EntityFormControllerInterface::setEntity
public function setEntity(EntityInterface $entity) { $this->entity = $entity; return $this; }