function ContactSitewideTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/contact/tests/src/Functional/ContactSitewideTest.php, line 50

Class

ContactSitewideTest
Tests site-wide contact form functionality.

Namespace

Drupal\Tests\contact\Functional

Code

protected function setUp() : void {
  parent::setUp();
  $this->drupalPlaceBlock('system_breadcrumb_block');
  $this->drupalPlaceBlock('local_tasks_block');
  $this->drupalPlaceBlock('local_actions_block');
  $this->drupalPlaceBlock('page_title_block');
}

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