function ContentTranslationPendingRevisionTestBase::setupBundle
Same name in other branches
- 9 core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationPendingRevisionTestBase::setupBundle()
- 8.9.x core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationPendingRevisionTestBase::setupBundle()
- 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationPendingRevisionTestBase.php \Drupal\Tests\content_translation\Functional\ContentTranslationPendingRevisionTestBase::setupBundle()
Overrides ContentTranslationTestBase::setupBundle
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationPendingRevisionTestBase.php, line 120
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();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.