You are here

function lightning_media_update_8021 in Lightning Media 8.4

Same name and namespace in other branches
  1. 8.3 lightning_media.install \lightning_media_update_8021()

Deletes unsupported Entity Browser-related config settings.

File

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

Code

function lightning_media_update_8021() {
  Drupal::configFactory()
    ->getEditable('lightning_media.settings')
    ->clear('entity_browser')
    ->save();
}