function ViewsBulkTest::setUp
Same name in other branches
- 8.9.x core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::setUp()
- 10 core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::setUp()
- 11.x core/modules/views/tests/src/Functional/Plugin/ViewsBulkTest.php \Drupal\Tests\views\Functional\Plugin\ViewsBulkTest::setUp()
Overrides ViewTestBase::setUp
File
-
core/
modules/ views/ tests/ src/ Functional/ Plugin/ ViewsBulkTest.php, line 36
Class
- ViewsBulkTest
- Tests views bulk operation selection.
Namespace
Drupal\Tests\views\Functional\PluginCode
public function setUp($import_test_views = TRUE, $modules = [
'views_test_config',
]) : void {
parent::setUp($import_test_views, $modules);
$this->drupalCreateContentType([
'type' => 'page',
]);
$this->admin_user = $this->createUser([
'bypass node access',
'administer nodes',
'access content overview',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.