public function TestEntityForm::setEntity in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityForm::setEntity()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityForm::setEntity()
File
- core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php, line 450 - Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.
Class
- TestEntityForm
- Provides a test entity form.
Namespace
Drupal\Tests\Core\EntityCode
public function setEntity(EntityInterface $entity) {
return $this;
}