EntityDefaultLanguageTest::$modules
Same name in other branches
- 8.9.x core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php \Drupal\Tests\language\Kernel\EntityDefaultLanguageTest::modules
- 10 core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php \Drupal\Tests\language\Kernel\EntityDefaultLanguageTest::modules
- 11.x core/modules/language/tests/src/Kernel/EntityDefaultLanguageTest.php \Drupal\Tests\language\Kernel\EntityDefaultLanguageTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
-
core/
modules/ language/ tests/ src/ Kernel/ EntityDefaultLanguageTest.php, line 21
Class
- EntityDefaultLanguageTest
- Tests default language code is properly generated for entities.
Namespace
Drupal\Tests\language\KernelCode
protected static $modules = [
'language',
'node',
'field',
'text',
'user',
'system',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.