function LocaleLocalTasksTest::setUp

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

Overrides LocalTaskIntegrationTestBase::setUp

File

core/modules/locale/tests/src/Unit/Menu/LocaleLocalTasksTest.php, line 19

Class

LocaleLocalTasksTest
Tests locale local tasks.

Namespace

Drupal\Tests\locale\Unit\Menu

Code

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

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