You are here

protected static property TranslationTest::$modules in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::modules
  2. 9 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

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',
];