protected function ItemLayoutFieldBlockTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/layout_builder/tests/src/FunctionalJavascript/ItemLayoutFieldBlockTest.php \Drupal\Tests\layout_builder\FunctionalJavascript\ItemLayoutFieldBlockTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ ItemLayoutFieldBlockTest.php, line 30
Class
- ItemLayoutFieldBlockTest
- Field blocks tests for the override layout.
Namespace
Drupal\Tests\layout_builder\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$this
->drupalLogin($this
->drupalCreateUser([
'configure any layout',
'administer node display',
'administer node fields',
]));
// We need more then one content type for this test.
$this
->createContentType([
'type' => 'bundle_with_layout_overrides',
]);
$this
->createContentType([
'type' => 'filler_bundle',
]);
}