public static property TranslationTest::$modules in Drupal 8
Same name and namespace in other branches
- 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
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
public static $modules = [
'language',
'node',
];