function MediaEmbedFilterConfigurationUiTest::setUp
Same name in other branches
- 8.9.x core/modules/media/tests/src/FunctionalJavascript/MediaEmbedFilterConfigurationUiTest.php \Drupal\Tests\media\FunctionalJavascript\MediaEmbedFilterConfigurationUiTest::setUp()
Overrides MediaFunctionalTestTrait::setUp
File
-
core/
modules/ media/ tests/ src/ FunctionalJavascript/ MediaEmbedFilterConfigurationUiTest.php, line 37
Class
- MediaEmbedFilterConfigurationUiTest
- @covers ::media_filter_format_edit_form_validate @group media
Namespace
Drupal\Tests\media\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$format = FilterFormat::create([
'format' => 'media_embed_test',
'name' => 'Test format',
'filters' => [],
]);
$format->save();
$this->drupalLogin($this->drupalCreateUser([
'administer filters',
$format->getPermissionName(),
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.