MediaTranslationTest::$modules

Same name in other branches
  1. 9 core/modules/media/tests/src/Kernel/MediaTranslationTest.php \Drupal\Tests\media\Kernel\MediaTranslationTest::modules
  2. 10 core/modules/media/tests/src/Kernel/MediaTranslationTest.php \Drupal\Tests\media\Kernel\MediaTranslationTest::modules
  3. 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\Kernel

Code

public static $modules = [
    'language',
    'content_translation',
];

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.