PathLanguageTest::$modules

Same name in other branches
  1. 8.9.x core/modules/path/tests/src/Functional/PathLanguageTest.php \Drupal\Tests\path\Functional\PathLanguageTest::modules
  2. 10 core/modules/path/tests/src/Functional/PathLanguageTest.php \Drupal\Tests\path\Functional\PathLanguageTest::modules
  3. 11.x core/modules/path/tests/src/Functional/PathLanguageTest.php \Drupal\Tests\path\Functional\PathLanguageTest::modules

Modules to enable.

Type: array

Overrides PathTestBase::$modules

File

core/modules/path/tests/src/Functional/PathLanguageTest.php, line 17

Class

PathLanguageTest
Confirm that paths work with translated nodes.

Namespace

Drupal\Tests\path\Functional

Code

protected static $modules = [
    'path',
    'locale',
    'locale_test',
    'content_translation',
];

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