function BookLocalTasksTest::setUp

Same name in other branches
  1. 8.9.x core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::setUp()
  2. 10 core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::setUp()
  3. 11.x core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php \Drupal\Tests\book\Unit\Menu\BookLocalTasksTest::setUp()

Overrides LocalTaskIntegrationTestBase::setUp

File

core/modules/book/tests/src/Unit/Menu/BookLocalTasksTest.php, line 17

Class

BookLocalTasksTest
Tests existence of book local tasks.

Namespace

Drupal\Tests\book\Unit\Menu

Code

protected function setUp() : void {
    $this->directoryList = [
        'book' => 'core/modules/book',
        'node' => 'core/modules/node',
    ];
    parent::setUp();
}

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