function ConfigEntityUnitTest::setUp
Same name in other branches
- 9 core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php \Drupal\KernelTests\Core\Config\ConfigEntityUnitTest::setUp()
- 8.9.x core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php \Drupal\KernelTests\Core\Config\ConfigEntityUnitTest::setUp()
- 11.x core/tests/Drupal/KernelTests/Core/Config/ConfigEntityUnitTest.php \Drupal\KernelTests\Core\Config\ConfigEntityUnitTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
tests/ Drupal/ KernelTests/ Core/ Config/ ConfigEntityUnitTest.php, line 40
Class
- ConfigEntityUnitTest
- Unit tests for configuration entity base methods.
Namespace
Drupal\KernelTests\Core\ConfigCode
protected function setUp() : void {
parent::setUp();
$this->storage = $this->container
->get('entity_type.manager')
->getStorage('config_test');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.