protected function ParagraphsAdministrationTest::setUp

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

Overrides ParagraphsTestBase::setUp

File

paragraphs/tests/src/Functional/WidgetLegacy/ParagraphsAdministrationTest.php, line 28

Class

ParagraphsAdministrationTest
Tests the configuration of paragraphs.

Namespace

Drupal\Tests\paragraphs\Functional\WidgetLegacy

Code

protected function setUp() : void {
  parent::setUp();

  // Create paragraphs content type.
  $this
    ->drupalCreateContentType(array(
    'type' => 'paragraphs',
    'name' => 'Paragraphs',
  ));
}