function ContentTranslationRevisionTranslationDeletionTest::setUp

Same name in other branches
  1. 9 core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::setUp()
  2. 10 core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::setUp()
  3. 11.x core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php \Drupal\Tests\content_translation\Functional\ContentTranslationRevisionTranslationDeletionTest::setUp()

Overrides ContentTranslationPendingRevisionTestBase::setUp

File

core/modules/content_translation/tests/src/Functional/ContentTranslationRevisionTranslationDeletionTest.php, line 23

Class

ContentTranslationRevisionTranslationDeletionTest
Tests that revision translation deletion is handled correctly.

Namespace

Drupal\Tests\content_translation\Functional

Code

protected function setUp() {
    parent::setUp();
    $this->enableContentModeration();
}

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