function MediaTranslationUITest::setUp

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

Overrides BrowserTestBase::setUp

File

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

Class

MediaTranslationUITest
Tests the Media Translation UI.

Namespace

Drupal\Tests\media\Functional

Code

protected function setUp() : void {
    $this->entityTypeId = 'media';
    $this->bundle = 'test';
    parent::setUp();
    $this->doSetup();
}

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