function ToolbarLegacyTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/toolbar/tests/src/Kernel/ToolbarLegacyTest.php, line 23

Class

ToolbarLegacyTest
Tests Toolbar module's legacy code.

Namespace

Drupal\Tests\toolbar\Kernel

Code

protected function setUp() {
    parent::setUp();
    // Generate menu links from system.links.menu.yml.
    \Drupal::service('router.builder')->rebuild();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.