function MenuLinkContentDeriverTest::setUp

Same name in other branches
  1. 9 core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php \Drupal\Tests\menu_link_content\Kernel\MenuLinkContentDeriverTest::setUp()
  2. 10 core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php \Drupal\Tests\menu_link_content\Kernel\MenuLinkContentDeriverTest::setUp()
  3. 11.x core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php \Drupal\Tests\menu_link_content\Kernel\MenuLinkContentDeriverTest::setUp()

Overrides KernelTestBase::setUp

File

core/modules/menu_link_content/tests/src/Kernel/MenuLinkContentDeriverTest.php, line 32

Class

MenuLinkContentDeriverTest
Tests the menu link content deriver.

Namespace

Drupal\Tests\menu_link_content\Kernel

Code

protected function setUp() {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installEntitySchema('menu_link_content');
}

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