function MenuExampleTest::setUp
Same name in other branches
- 3.x modules/menu_example/tests/src/Functional/MenuExampleTest.php \Drupal\Tests\menu_example\Functional\MenuExampleTest::setUp()
- 4.0.x modules/menu_example/tests/src/Functional/MenuExampleTest.php \Drupal\Tests\menu_example\Functional\MenuExampleTest::setUp()
File
-
menu_example/
tests/ src/ Functional/ MenuExampleTest.php, line 42
Class
- MenuExampleTest
- Test the functionality for the menu Example.
Namespace
Drupal\Tests\menu_example\FunctionalCode
protected function setUp() {
// Always call the parent setUp().
parent::setUp();
// Add the main menu block, as provided by the Block module.
$this->placeBlock('system_menu_block:main');
}