You are here

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

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

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\Functional

Code

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.');
}