protected function MenuLinkTreeTest::setUp in Zircon Profile 8
Same name in this branch
- 8 core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php \Drupal\system\Tests\Menu\MenuLinkTreeTest::setUp()
- 8 core/modules/system/tests/src/Unit/Menu/MenuLinkTreeTest.php \Drupal\Tests\system\Unit\Menu\MenuLinkTreeTest::setUp()
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Menu/MenuLinkTreeTest.php \Drupal\system\Tests\Menu\MenuLinkTreeTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Menu/ MenuLinkTreeTest.php, line 54 - Contains \Drupal\system\Tests\Menu\MenuLinkTreeTest.
Class
- MenuLinkTreeTest
- Tests the menu link tree.
Namespace
Drupal\system\Tests\MenuCode
protected function setUp() {
parent::setUp();
$this
->installSchema('system', array(
'router',
));
$this
->installEntitySchema('menu_link_content');
$this->linkTree = $this->container
->get('menu.link_tree');
$this->menuLinkManager = $this->container
->get('plugin.manager.menu.link');
}