public function TestEntityForm::setEntityManager in Drupal 8
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php, line 464 - Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.
Class
- TestEntityForm
- Provides a test entity form.
Namespace
Drupal\Tests\Core\EntityCode
public function setEntityManager(EntityManagerInterface $entity_manager) {
$this->entityManager = $entity_manager;
return $this;
}