function MapDataNormalizerTest::setUp
Same name in other branches
- 8.9.x core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php \Drupal\Tests\serialization\Kernel\MapDataNormalizerTest::setUp()
- 10 core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php \Drupal\Tests\serialization\Kernel\MapDataNormalizerTest::setUp()
- 11.x core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php \Drupal\Tests\serialization\Kernel\MapDataNormalizerTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ serialization/ tests/ src/ Kernel/ MapDataNormalizerTest.php, line 36
Class
- MapDataNormalizerTest
- @group typedData
Namespace
Drupal\Tests\serialization\KernelCode
protected function setUp() : void {
parent::setUp();
$this->serializer = \Drupal::service('serializer');
$this->typedDataManager = \Drupal::typedDataManager();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.