function UuidFormatterTest::setUp

Same name in other branches
  1. 8.9.x core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php \Drupal\Tests\field\Kernel\String\UuidFormatterTest::setUp()
  2. 10 core/modules/field/tests/src/Kernel/KernelString/UuidFormatterTest.php \Drupal\Tests\field\Kernel\KernelString\UuidFormatterTest::setUp()
  3. 11.x core/modules/field/tests/src/Kernel/KernelString/UuidFormatterTest.php \Drupal\Tests\field\Kernel\KernelString\UuidFormatterTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/field/tests/src/Kernel/String/UuidFormatterTest.php, line 26

Class

UuidFormatterTest
Tests the output of a UUID field.

Namespace

Drupal\Tests\field\Kernel\String

Code

protected function setUp() : void {
    parent::setUp();
    $this->installConfig([
        'system',
        'field',
    ]);
    $this->installEntitySchema('entity_test');
}

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