function BookSettingsFormTest::setUp
Same name and namespace in other branches
- 10 core/modules/book/tests/src/Kernel/BookSettingsFormTest.php \Drupal\Tests\book\Kernel\BookSettingsFormTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ book/ tests/ src/ Kernel/ BookSettingsFormTest.php, line 33
Class
- BookSettingsFormTest
- @covers <a href="/api/drupal/core%21modules%21book%21src%21Form%21BookSettingsForm.php/class/BookSettingsForm/11.x" title="Configure book settings for this site." class="local">\Drupal\book\Form\BookSettingsForm</a> @group book
Namespace
Drupal\Tests\book\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installConfig([
'book',
'node',
]);
$this->createContentType([
'type' => 'chapter',
]);
$this->createContentType([
'type' => 'page',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.