protected static property TranslationStringTest::$modules in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php \Drupal\KernelTests\Core\StringTranslation\TranslationStringTest::modules
- 9 core/tests/Drupal/KernelTests/Core/StringTranslation/TranslationStringTest.php \Drupal\KernelTests\Core\StringTranslation\TranslationStringTest::modules
Modules to enable.
Type: array
Overrides KernelTestBase::$modules
File
- core/
tests/ Drupal/ KernelTests/ Core/ StringTranslation/ TranslationStringTest.php, line 21
Class
- TranslationStringTest
- Tests the TranslatableMarkup class.
Namespace
Drupal\KernelTests\Core\StringTranslationCode
protected static $modules = [
'language',
];