function ContentTranslationNewTranslationWithExistingRevisionsTest::setUp
Same name in other branches
- 10 core/modules/content_translation/tests/src/Functional/ContentTranslationNewTranslationWithExistingRevisionsTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationNewTranslationWithExistingRevisionsTest::setUp()
Overrides ContentTranslationPendingRevisionTestBase::setUp
File
-
core/
modules/ content_translation/ tests/ src/ Functional/ ContentTranslationNewTranslationWithExistingRevisionsTest.php, line 36
Class
- ContentTranslationNewTranslationWithExistingRevisionsTest
- Tests that new translations do not delete existing ones.
Namespace
Drupal\Tests\content_translation\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->doSetup();
$this->enableContentModeration();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.