function MediaUiReferenceWidgetTest::setUp

Same name in other branches
  1. 10 core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php \Drupal\Tests\media\Functional\MediaUiReferenceWidgetTest::setUp()

Overrides MediaFunctionalTestTrait::setUp

File

core/modules/media/tests/src/Functional/MediaUiReferenceWidgetTest.php, line 41

Class

MediaUiReferenceWidgetTest
Ensures that media UI works correctly.

Namespace

Drupal\Tests\media\Functional

Code

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

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