protected function ParagraphsTestBase::setUp in Paragraphs 8
Overrides BrowserTestBase::setUp
16 calls to ParagraphsTestBase::setUp()
- MultilingualBehaviorTest::setUp in modules/
paragraphs_library/ tests/ src/ Functional/ MultilingualBehaviorTest.php - ParagraphsAccessTest::setUp in tests/
src/ Functional/ WidgetLegacy/ ParagraphsAccessTest.php - ParagraphsAccessTest::setUp in tests/
src/ Functional/ WidgetStable/ ParagraphsAccessTest.php - ParagraphsAdministrationTest::setUp in tests/
src/ Functional/ WidgetLegacy/ ParagraphsAdministrationTest.php - ParagraphsAdministrationTest::setUp in tests/
src/ Functional/ WidgetStable/ ParagraphsAdministrationTest.php
16 methods override ParagraphsTestBase::setUp()
- MultilingualBehaviorTest::setUp in modules/
paragraphs_library/ tests/ src/ Functional/ MultilingualBehaviorTest.php - ParagraphsAccessTest::setUp in tests/
src/ Functional/ WidgetLegacy/ ParagraphsAccessTest.php - ParagraphsAccessTest::setUp in tests/
src/ Functional/ WidgetStable/ ParagraphsAccessTest.php - ParagraphsAdministrationTest::setUp in tests/
src/ Functional/ WidgetLegacy/ ParagraphsAdministrationTest.php - ParagraphsAdministrationTest::setUp in tests/
src/ Functional/ WidgetStable/ ParagraphsAdministrationTest.php
File
- tests/
src/ Functional/ WidgetLegacy/ ParagraphsTestBase.php, line 54
Class
- ParagraphsTestBase
- Base class for tests.
Namespace
Drupal\Tests\paragraphs\Functional\WidgetLegacyCode
protected function setUp() : void {
parent::setUp();
// Place the breadcrumb, tested in fieldUIAddNewField().
$this
->drupalPlaceBlock('system_breadcrumb_block');
$this
->drupalPlaceBlock('local_tasks_block');
$this
->drupalPlaceBlock('local_actions_block');
$this
->drupalPlaceBlock('page_title_block');
$this->admin_permissions = [
'administer content types',
'administer node fields',
'administer paragraphs types',
'administer node form display',
'administer paragraph fields',
'administer paragraph form display',
];
}