You are here

function media_library_update_8704 in Drupal 8

Creates the media_library.settings config object.

File

core/modules/media_library/media_library.install, line 198
Install, update and uninstall functions for the media_library module.

Code

function media_library_update_8704() {
  \Drupal::configFactory()
    ->getEditable('media_library.settings')
    ->set('advanced_ui', TRUE)
    ->save();
}