protected function EntityFieldDefaultValueTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php \Drupal\KernelTests\Core\Entity\EntityFieldDefaultValueTest::setUp()
- 9 core/tests/Drupal/KernelTests/Core/Entity/EntityFieldDefaultValueTest.php \Drupal\KernelTests\Core\Entity\EntityFieldDefaultValueTest::setUp()
File
- core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityFieldDefaultValueTest.php, line 22
Class
- EntityFieldDefaultValueTest
- Tests default values for entity fields.
Namespace
Drupal\KernelTests\Core\EntityCode
protected function setUp() : void {
parent::setUp();
// Initiate the generator object.
$this->uuid = $this->container
->get('uuid');
}