function lightning_media_update_8015 in Lightning Media 8.4
Same name and namespace in other branches
- 8 lightning_media.install \lightning_media_update_8015()
- 8.2 lightning_media.install \lightning_media_update_8015()
- 8.3 lightning_media.install \lightning_media_update_8015()
Creates the thumbnail view mode for media items.
File
- ./
lightning_media.install, line 243 - 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();
}