You are here

protected function LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability in Lingotek Translation 3.2.x

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  2. 4.0.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  3. 3.1.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  4. 3.3.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  5. 3.4.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  6. 3.5.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  7. 3.6.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  8. 3.7.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
  9. 3.8.x tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php \Drupal\Tests\lingotek\Functional\LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
1 call to LingotekNodeNestedParagraphsEditedTranslationTest::setParagraphFieldsTranslatability()
LingotekNodeNestedParagraphsEditedTranslationTest::setUp in tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php

File

tests/src/Functional/LingotekNodeNestedParagraphsEditedTranslationTest.php, line 221

Class

LingotekNodeNestedParagraphsEditedTranslationTest
Tests translating a node with multiple locales including nested paragraphs.

Namespace

Drupal\Tests\lingotek\Functional

Code

protected function setParagraphFieldsTranslatability() : void {
  $edit = [];
  $edit['settings[node][paragraphed_nested_content][fields][field_paragraph_container]'] = 1;
  $edit['settings[paragraph][paragraph_container][fields][field_paragraphs_demo]'] = 1;
  $this
    ->drupalPostForm('/admin/config/regional/content-language', $edit, 'Save configuration');
  $this
    ->assertSession()
    ->responseContains('Settings successfully updated.');
}