function TestEntityFormInjected::__construct
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityFormInjected::__construct()
- 8.9.x core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityFormInjected::__construct()
- 10 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\TestEntityFormInjected::__construct()
Constructs a new TestEntityFormInjected.
Parameters
string $color: The color of the entity type.
File
-
core/
tests/ Drupal/ Tests/ Core/ Entity/ EntityTypeManagerTest.php, line 541
Class
- TestEntityFormInjected
- Provides a test entity form that uses injection.
Namespace
Drupal\Tests\Core\EntityCode
public function __construct($color) {
$this->color = $color;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.