function ActionLocalTasksTest::setUp

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

Overrides LocalTaskIntegrationTestBase::setUp

File

core/modules/action/tests/src/Unit/Menu/ActionLocalTasksTest.php, line 17

Class

ActionLocalTasksTest
Tests action local tasks.

Namespace

Drupal\Tests\action\Unit\Menu

Code

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

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