function MediaTranslationUITest::setupBundle

Same name in other branches
  1. 9 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::setupBundle()
  2. 8.9.x core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::setupBundle()
  3. 10 core/modules/media/tests/src/Functional/MediaTranslationUITest.php \Drupal\Tests\media\Functional\MediaTranslationUITest::setupBundle()

Overrides ContentTranslationTestBase::setupBundle

File

core/modules/media/tests/src/Functional/MediaTranslationUITest.php, line 60

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\Functional

Code

public function setupBundle() : void {
    $this->createMediaType('test', [
        'id' => $this->bundle,
        'queue_thumbnail_downloads' => FALSE,
    ]);
}

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