function TestEntityForm::setEntityManager

File

core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php, line 464

Class

TestEntityForm
Provides a test entity form.

Namespace

Drupal\Tests\Core\Entity

Code

public function setEntityManager(EntityManagerInterface $entity_manager) {
    $this->entityManager = $entity_manager;
    return $this;
}

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