protected function ParagraphsTranslationTest::assertParagraphsButtons in Paragraphs 8
Same name in this branch
- 8 tests/src/Functional/WidgetLegacy/ParagraphsTranslationTest.php \Drupal\Tests\paragraphs\Functional\WidgetLegacy\ParagraphsTranslationTest::assertParagraphsButtons()
- 8 tests/src/Functional/WidgetStable/ParagraphsTranslationTest.php \Drupal\Tests\paragraphs\Functional\WidgetStable\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 tests/
src/ Functional/ WidgetStable/ ParagraphsTranslationTest.php - Tests the paragraphs buttons presence in multilingual workflow.
- ParagraphsTranslationTest::testParagraphTranslationMultilingual in tests/
src/ Functional/ WidgetStable/ ParagraphsTranslationTest.php - Tests the paragraph buttons presence in translation multilingual workflow.
File
- tests/
src/ Functional/ WidgetStable/ ParagraphsTranslationTest.php, line 872
Class
- ParagraphsTranslationTest
- Tests the configuration of paragraphs.
Namespace
Drupal\Tests\paragraphs\Functional\WidgetStableCode
protected function assertParagraphsButtons($count) {
$this
->assertParagraphsButtonsHelper($count, FALSE);
}