public function ConfigEntityStaticCacheTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config/src/Tests/ConfigEntityStaticCacheTest.php \Drupal\config\Tests\ConfigEntityStaticCacheTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ config/ src/ Tests/ ConfigEntityStaticCacheTest.php, line 44 - Contains \Drupal\config\Tests\ConfigEntityStaticCacheTest.
Class
- ConfigEntityStaticCacheTest
- Tests the entity static cache when used by config entities.
Namespace
Drupal\config\TestsCode
public function setUp() {
parent::setUp();
$this->entityTypeId = 'config_test';
$this->entityId = 'test_1';
entity_create($this->entityTypeId, array(
'id' => $this->entityId,
'label' => 'Original label',
))
->save();
}