protected function LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability in Lingotek Translation 3.4.x
Same name and namespace in other branches
- 8.2 tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 4.0.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.1.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.2.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.3.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.5.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.6.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.7.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
- 3.8.x tests/src/Functional/LingotekNodeWithParagraphsManageTranslationTabTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
1 call to LingotekNodeWithParagraphsManageTranslationTabTest::setParagraphFieldsTranslatability()
File
- tests/
src/ Functional/ LingotekNodeWithParagraphsManageTranslationTabTest.php, line 267
Class
- LingotekNodeWithParagraphsManageTranslationTabTest
- Tests translating a node with paragraphs using the bulk management form.
Namespace
Drupal\Tests\lingotek\FunctionalCode
protected function setParagraphFieldsTranslatability() : void {
$edit = [];
$edit['settings[node][paragraphed_content_demo][fields][field_paragraphs_demo]'] = 1;
$edit['settings[paragraph][image_text][fields][field_text_demo]'] = 1;
$this
->drupalPostForm('/admin/config/regional/content-language', $edit, 'Save configuration');
$this
->assertSession()
->responseContains('Settings successfully updated.');
}