protected function LayoutLibraryIntegrationTest::setUp in Layout Builder Restrictions 8.2
Same name and namespace in other branches
- 8 tests/src/FunctionalJavascript/LayoutLibraryIntegrationTest.php \Drupal\Tests\layout_builder_restrictions\FunctionalJavascript\LayoutLibraryIntegrationTest::setUp()
Overrides LayoutBuilderRestrictionsTestBase::setUp
File
- tests/
src/ FunctionalJavascript/ LayoutLibraryIntegrationTest.php, line 30
Class
- LayoutLibraryIntegrationTest
- Demonstrate that Layout Builder Restrictions works with Layout Library.
Namespace
Drupal\Tests\layout_builder_restrictions\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this
->drupalCreateContentType([
'type' => 'alpha',
'name' => 'Alpha',
]);
$this
->drupalLogin($this
->drupalCreateUser([
'access administration pages',
'configure any layout',
'administer node display',
]));
}