function WorkspaceEntityDeleteTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/workspaces/tests/src/Functional/WorkspaceEntityDeleteTest.php, line 32

Class

WorkspaceEntityDeleteTest
Tests entity deletions with workspaces.

Namespace

Drupal\Tests\workspaces\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->createContentType([
    'type' => 'article',
    'label' => 'Article',
  ]);
  $this->setupWorkspaceSwitcherBlock();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.