function ComplexDataConstraintValidatorTest::setUp

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php \Drupal\KernelTests\Core\TypedData\ComplexDataConstraintValidatorTest::setUp()
  2. 10 core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php \Drupal\KernelTests\Core\TypedData\ComplexDataConstraintValidatorTest::setUp()
  3. 11.x core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php \Drupal\KernelTests\Core\TypedData\ComplexDataConstraintValidatorTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/TypedData/ComplexDataConstraintValidatorTest.php, line 24

Class

ComplexDataConstraintValidatorTest
Tests ComplexData validation constraint with both valid and invalid values for a key.

Namespace

Drupal\KernelTests\Core\TypedData

Code

protected function setUp() {
    parent::setUp();
    $this->typedData = $this->container
        ->get('typed_data_manager');
}

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