function NodeTitleTestBase::setUp
Same name in other branches
- 11.x core/modules/system/tests/src/Functional/Theme/NodeTitleTestBase.php \Drupal\Tests\system\Functional\Theme\NodeTitleTestBase::setUp()
Overrides NodeTestBase::setUp
File
-
core/
modules/ system/ tests/ src/ Functional/ Theme/ NodeTitleTestBase.php, line 27
Class
- NodeTitleTestBase
- Tests node title for a theme.
Namespace
Drupal\Tests\system\Functional\ThemeCode
protected function setUp() : void {
parent::setUp();
$this->drupalPlaceBlock('page_title_block');
$adminUser = $this->drupalCreateUser([
'administer themes',
'administer nodes',
'create article content',
'create page content',
]);
$this->drupalLogin($adminUser);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.