You are here

function lightning_media_update_8015 in Lightning Media 8.2

Same name and namespace in other branches
  1. 8.4 lightning_media.install \lightning_media_update_8015()
  2. 8 lightning_media.install \lightning_media_update_8015()
  3. 8.3 lightning_media.install \lightning_media_update_8015()

Creates the thumbnail view mode for media items.

File

./lightning_media.install, line 244
Contains install and update routines for Lightning Media.

Code

function lightning_media_update_8015() {
  Config::forModule('lightning_media')
    ->getEntity('entity_view_mode', 'media.thumbnail')
    ->save();
}