function media_library_update_8704

Creates the media_library.settings config object.

File

core/modules/media_library/media_library.install, line 198

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.