function BulkFormTest::setUp
Same name in this branch
- 11.x core/modules/node/tests/src/Functional/Views/BulkFormTest.php \Drupal\Tests\node\Functional\Views\BulkFormTest::setUp()
Same name in other branches
- 9 core/modules/node/tests/src/Functional/Views/BulkFormTest.php \Drupal\Tests\node\Functional\Views\BulkFormTest::setUp()
- 8.9.x core/modules/node/tests/src/Functional/Views/BulkFormTest.php \Drupal\Tests\node\Functional\Views\BulkFormTest::setUp()
- 10 core/modules/node/tests/src/Functional/Views/BulkFormTest.php \Drupal\Tests\node\Functional\Views\BulkFormTest::setUp()
- 10 core/modules/views/tests/src/Functional/BulkFormTest.php \Drupal\Tests\views\Functional\BulkFormTest::setUp()
Overrides BrowserTestBase::setUp
1 call to BulkFormTest::setUp()
- WorkspaceViewsBulkFormTest::setUp in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceViewsBulkFormTest.php
1 method overrides BulkFormTest::setUp()
- WorkspaceViewsBulkFormTest::setUp in core/
modules/ workspaces/ tests/ src/ Functional/ WorkspaceViewsBulkFormTest.php
File
-
core/
modules/ views/ tests/ src/ Functional/ BulkFormTest.php, line 34
Class
- BulkFormTest
- Tests the views bulk form test.
Namespace
Drupal\Tests\views\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Log in as a user with 'administer nodes' permission to have access to the
// bulk operation.
$this->drupalCreateContentType([
'type' => 'page',
]);
$admin_user = $this->drupalCreateUser([
'administer nodes',
'edit any page content',
'delete any page content',
]);
$this->drupalLogin($admin_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.