protected function ParagraphsTranslationTest::assertParagraphsButtons

Same name in this branch
  1. 8.x-1.x paragraphs/tests/src/Functional/WidgetStable/ParagraphsTranslationTest.php \Drupal\Tests\paragraphs\Functional\WidgetStable\ParagraphsTranslationTest::assertParagraphsButtons()
  2. 8.x-1.x paragraphs/tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php \Drupal\Tests\paragraphs\Functional\WidgetLegacy\ParagraphsTranslationTest::assertParagraphsButtons()

Passes if the paragraphs buttons are present.

Parameters

int $count: Number of paragraphs buttons to look for.

2 calls to ParagraphsTranslationTest::assertParagraphsButtons()
ParagraphsTranslationTest::testParagraphsMultilingualWorkflow in paragraphs/tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php
Tests the paragraphs buttons presence in multilingual workflow.
ParagraphsTranslationTest::testParagraphTranslationMultilingual in paragraphs/tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php
Tests the paragraph buttons presence in translation multilingual workflow.

File

paragraphs/tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php, line 770

Class

ParagraphsTranslationTest
Tests the configuration of paragraphs.

Namespace

Drupal\Tests\paragraphs\Functional\WidgetLegacy

Code

protected function assertParagraphsButtons($count) {
  $this
    ->assertParagraphsButtonsHelper($count, FALSE);
}