function ModuleAdminLinksHelperTest::setUp

Same name in other branches
  1. 10 core/modules/system/tests/src/Kernel/ModuleAdminLinksHelperTest.php \Drupal\Tests\system\Kernel\ModuleAdminLinksHelperTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/system/tests/src/Kernel/ModuleAdminLinksHelperTest.php, line 35

Class

ModuleAdminLinksHelperTest
Tests the ModuleAdminLinksHelper.

Namespace

Drupal\Tests\system\Kernel

Code

public function setUp() : void {
    parent::setUp();
    $this->setUpCurrentUser([], [
        'access administration pages',
    ]);
    $this->installEntitySchema('menu_link_content');
}

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