TranslationTest::$modules

Same name and namespace in other branches
  1. 9 core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::modules
  2. 10 core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::modules
  3. 11.x core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::modules

Modules to enable.

The node module is required because the tests alter the node entity type.

Type: array

Overrides FieldKernelTestBase::$modules

File

core/modules/field/tests/src/Kernel/TranslationTest.php, line 26

Class

TranslationTest
Tests multilanguage fields logic.

Namespace

Drupal\Tests\field\Kernel

Code

public static $modules = [
    'language',
    'node',
];

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