protected static property TranslationTest::$modules in Drupal 10
Same name and namespace in other branches
- 8 core/modules/field/tests/src/Kernel/TranslationTest.php \Drupal\Tests\field\Kernel\TranslationTest::modules
- 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\KernelCode
protected static $modules = [
'language',
'node',
];