function BlockFilterTest::setUp
Overrides BrowserTestBase::setUp
File
-
core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ BlockFilterTest.php, line 34
Class
- BlockFilterTest
- Tests the JavaScript functionality of the block add filter.
Namespace
Drupal\Tests\layout_builder\FunctionalJavascriptCode
protected function setUp() {
parent::setUp();
$user = $this->drupalCreateUser([
'configure any layout',
'administer node display',
'administer node fields',
]);
$this->drupalLogin($user);
$this->createContentType([
'type' => 'bundle_with_section_field',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.