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