protected function LingotekContentModerationTest::configureNeedsReviewAsUploadState in Lingotek Translation 3.5.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 4.0.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.0.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.1.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.2.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.3.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.4.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.6.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.7.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- 3.8.x tests/src/Functional/LingotekContentModerationTest.php \Drupal\Tests\lingotek\Functional\LingotekContentModerationTest::configureNeedsReviewAsUploadState()
7 calls to LingotekContentModerationTest::configureNeedsReviewAsUploadState()
- LingotekContentModerationTest::testDownloadFromNotUploadStateDoesntTriggerATransition in tests/
src/ Functional/ LingotekContentModerationTest.php - LingotekContentModerationTest::testDownloadFromUploadStateTriggersATransition in tests/
src/ Functional/ LingotekContentModerationTest.php - LingotekContentModerationTest::testDownloadWithInvalidTransition in tests/
src/ Functional/ LingotekContentModerationTest.php - LingotekContentModerationTest::testModerationToNonUploadStateWithAutomaticProfileDoesntTriggerUpload in tests/
src/ Functional/ LingotekContentModerationTest.php - LingotekContentModerationTest::testModerationToNonUploadStateWithManualProfileDoesntTriggerUpload in tests/
src/ Functional/ LingotekContentModerationTest.php
File
- tests/
src/ Functional/ LingotekContentModerationTest.php, line 226
Class
- LingotekContentModerationTest
- Tests setting up the integration with content moderation.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function configureNeedsReviewAsUploadState() {
$this
->saveLingotekContentTranslationSettings([
'node' => [
'article' => [
'profiles' => 'automatic',
'fields' => [
'title' => 1,
'body' => 1,
],
'moderation' => [
'upload_status' => 'needs_review',
'download_transition' => 'publish',
],
],
],
]);
}