function ContentTestTranslationUITest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/content_translation/tests/src/Functional/ContentTestTranslationUITest.php, line 47

Class

ContentTestTranslationUITest
Tests the test content translation UI with the test entity.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function setUp() : void {
    // Use the entity_test_mul as this has multilingual property support.
    $this->entityTypeId = 'entity_test_mul_changed';
    parent::setUp();
    $this->doSetup();
}

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