function FieldEntitySettingsTest::setUp
Same name in other branches
- 11.x core/modules/field/tests/src/Kernel/Entity/FieldEntitySettingsTest.php \Drupal\Tests\field\Kernel\Entity\FieldEntitySettingsTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Kernel/ Entity/ FieldEntitySettingsTest.php, line 27
Class
- FieldEntitySettingsTest
- Tests the ways that field entities handle their settings.
Namespace
Drupal\Tests\field\Kernel\EntityCode
protected function setUp() : void {
parent::setUp();
EntityTestBundle::create([
'id' => 'test',
'label' => 'Test',
])->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.