function ModeratedContentLocalTaskTest::setUp
Same name in other branches
- 10 core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php \Drupal\Tests\content_moderation\Functional\ModeratedContentLocalTaskTest::setUp()
- 11.x core/modules/content_moderation/tests/src/Functional/ModeratedContentLocalTaskTest.php \Drupal\Tests\content_moderation\Functional\ModeratedContentLocalTaskTest::setUp()
Overrides BrowserTestBase::setUp
File
-
core/
modules/ content_moderation/ tests/ src/ Functional/ ModeratedContentLocalTaskTest.php, line 38
Class
- ModeratedContentLocalTaskTest
- Tests moderated content dynamic local task.
Namespace
Drupal\Tests\content_moderation\FunctionalCode
public function setUp() : void {
parent::setUp();
$this->drupalPlaceBlock('local_tasks_block');
$this->adminUser = $this->drupalCreateUser([
'access administration pages',
'access content overview',
'view any unpublished content',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.