You are here

protected static property TranslationTest::$modules in Drupal 9

Same name and namespace in other branches
  1. 8 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

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

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