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