You are here

protected function MediaBrowserUploadWidgetTest::createMediaTypes in Lightning Media 8.3

Overrides MediaBrowserWidgetTestBase::createMediaTypes

File

tests/src/Functional/MediaBrowserUploadWidgetTest.php, line 25

Class

MediaBrowserUploadWidgetTest
@group lightning_media

Namespace

Drupal\Tests\lightning_media\Functional

Code

protected function createMediaTypes() {
  $this
    ->createMediaType('image', [
    'id' => 'picture',
    'label' => 'Picture',
  ]);
}