public EntityForm::setEntityManager(EntityManagerInterface $entity_manager)
Sets the entity manager for this form.
@todo Remove this set call in https://www.drupal.org/node/2603542.
\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.
$this
Overrides EntityFormInterface::setEntityManager
public function setEntityManager(EntityManagerInterface $entity_manager) { $this->entityManager = $entity_manager; return $this; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Entity!EntityForm.php/function/EntityForm::setEntityManager/8.1.x