public function MediaTranslationUITest::setupBundle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::setupBundle()
Creates or initializes the bundle date if needed.
Overrides ContentTranslationTestBase::setupBundle
File
- core/
modules/ media/ tests/ src/ Functional/ MediaTranslationUITest.php, line 57
Class
- MediaTranslationUITest
- Tests the Media Translation UI.
Namespace
Drupal\Tests\media\FunctionalCode
public function setupBundle() {
$this
->createMediaType('test', [
'id' => $this->bundle,
'queue_thumbnail_downloads' => FALSE,
]);
}