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. 10 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 ContentTranslationTestBase::setUp

File

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

Class

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

Namespace

Drupal\Tests\content_translation\Functional

Code

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

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