You are here

protected function MediaBrowserEmbedCodeWidgetTest::createMediaTypes in Lightning Media 8.3

Overrides MediaBrowserWidgetTestBase::createMediaTypes

File

tests/src/Functional/MediaBrowserEmbedCodeWidgetTest.php, line 23

Class

MediaBrowserEmbedCodeWidgetTest
@group lightning_media

Namespace

Drupal\Tests\lightning_media\Functional

Code

protected function createMediaTypes() {
  $this
    ->createMediaType('video_embed_field', [
    'id' => 'test_video_2',
    'label' => 'Test Video 2',
  ]);
}