function FrontPageLinkDependenciesTest::setUp
Same name in other branches
- 3.x modules/testing_example/tests/src/Functional/FrontPageLinkDependenciesTest.php \Drupal\Tests\testing_example\Functional\FrontPageLinkDependenciesTest::setUp()
Overrides BrowserTestBase::setUp
File
-
modules/
testing_example/ tests/ src/ Functional/ FrontPageLinkDependenciesTest.php, line 45
Class
- FrontPageLinkDependenciesTest
- Tests core menu behavior.
Namespace
Drupal\Tests\testing_example\FunctionalCode
protected function setUp() : void {
// Always call the parent setUp().
parent::setUp();
// Add the Tools menu block, as provided by the Block module.
$this->placeBlock('system_menu_block:tools');
// Add a content type.
$this->contentType = $this->createContentType();
}