function ContentTranslationMetadataFieldsTest::setupBundle

Same name in other branches
  1. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationMetadataFieldsTest::setupBundle()

Overrides ContentTranslationTestBase::setupBundle

File

core/modules/content_translation/tests/src/Functional/ContentTranslationMetadataFieldsTest.php, line 41

Class

ContentTranslationMetadataFieldsTest
Tests the Content Translation metadata fields handling.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function setupBundle() : void {
    parent::setupBundle();
    $this->createContentType([
        'type' => $this->bundle,
    ]);
}

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