protected function LibraryInclusionTranslationTest::setUp in Lightning Media 8.4
Same name in this branch
- 8.4 modules/lightning_media_image/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_image\Kernel\LibraryInclusionTranslationTest::setUp()
- 8.4 modules/lightning_media_audio/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_audio\Kernel\LibraryInclusionTranslationTest::setUp()
- 8.4 modules/lightning_media_twitter/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_twitter\Kernel\LibraryInclusionTranslationTest::setUp()
- 8.4 modules/lightning_media_video/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_video\Kernel\LibraryInclusionTranslationTest::setUp()
Same name and namespace in other branches
- 8.3 modules/lightning_media_image/tests/src/Kernel/LibraryInclusionTranslationTest.php \Drupal\Tests\lightning_media_image\Kernel\LibraryInclusionTranslationTest::setUp()
Overrides KernelTestBase::setUp
File
- modules/
lightning_media_image/ tests/ src/ Kernel/ LibraryInclusionTranslationTest.php, line 26
Class
- LibraryInclusionTranslationTest
- Tests that field_media_in_library is not translatable.
Namespace
Drupal\Tests\lightning_media_image\KernelCode
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('user');
$this->container
->get('module_installer')
->install([
'content_translation',
'lightning_media_image',
]);
ConfigurableLanguage::createFromLangcode('hu')
->save();
}