You are here

protected function ParagraphsTranslationTest::assertNoParagraphsButtons in Paragraphs 8

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

Passes if the paragraphs buttons are NOT present.

Parameters

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

1 call to ParagraphsTranslationTest::assertNoParagraphsButtons()
ParagraphsTranslationTest::testParagraphTranslationMultilingual in tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php
Tests the paragraph buttons presence in translation multilingual workflow.

File

tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php, line 803

Class

ParagraphsTranslationTest
Tests the configuration of paragraphs.

Namespace

Drupal\Tests\paragraphs\Functional\WidgetLegacy

Code

protected function assertNoParagraphsButtons($count) {
  $this
    ->assertParagraphsButtonsHelper($count, TRUE);
}