function AddToAllBundlesConfigActionTest::setUp
Same name in other branches
- 10 core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php \Drupal\Tests\field\Kernel\AddToAllBundlesConfigActionTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ field/ tests/ src/ Kernel/ AddToAllBundlesConfigActionTest.php, line 35
Class
Namespace
Drupal\Tests\field\KernelCode
protected function setUp() : void {
parent::setUp();
NodeType::create([
'type' => 'one',
'name' => 'One',
])->save();
NodeType::create([
'type' => 'two',
'name' => 'Two',
])->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.