function NavigationContentLinksTest::setUp
Same name and namespace in other branches
- 11.x core/modules/navigation/tests/src/Kernel/NavigationContentLinksTest.php \Drupal\Tests\navigation\Kernel\NavigationContentLinksTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ navigation/ tests/ src/ Kernel/ NavigationContentLinksTest.php, line 44
Class
Namespace
Drupal\Tests\navigation\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('node');
$this->installConfig([
'node',
'file',
'media',
]);
$this->createContentType([
'type' => 'article',
]);
$this->createContentType([
'type' => 'blog',
]);
$this->createContentType([
'type' => 'landing_page',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.