You are here

function lightning_media_update_8016 in Lightning Media 8

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

Creates the lightning_media.settings config object.

File

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

Code

function lightning_media_update_8016() {
  Config::forModule('lightning_media')
    ->get('lightning_media.settings')
    ->set('entity_embed.choose_display', TRUE)
    ->save();
}