protected function ContentTranslationPendingRevisionTestBase::setupBundle in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationPendingRevisionTestBase::setupBundle()
Creates or initializes the bundle date if needed.
Overrides ContentTranslationTestBase::setupBundle
File
- core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationPendingRevisionTestBase.php, line 117
Class
- ContentTranslationPendingRevisionTestBase
- Base class for pending revision translation tests.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function setupBundle() {
parent::setupBundle();
$this
->createContentType([
'type' => $this->bundle,
]);
$this
->createEditorialWorkflow();
}