MediaTranslationTest::$modules
Same name in other branches
- 8.9.x core/modules/media/tests/src/Kernel/MediaTranslationTest.php \Drupal\Tests\media\Kernel\MediaTranslationTest::modules
- 10 core/modules/media/tests/src/Kernel/MediaTranslationTest.php \Drupal\Tests\media\Kernel\MediaTranslationTest::modules
- 11.x core/modules/media/tests/src/Kernel/MediaTranslationTest.php \Drupal\Tests\media\Kernel\MediaTranslationTest::modules
Modules to install.
Type: array
Overrides MediaKernelTestBase::$modules
File
-
core/
modules/ media/ tests/ src/ Kernel/ MediaTranslationTest.php, line 21
Class
- MediaTranslationTest
- Tests multilanguage fields logic.
Namespace
Drupal\Tests\media\KernelCode
protected static $modules = [
'language',
'content_translation',
];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.