function layout_builder_modal_update_8102 in Layout Builder Modal 8
Sets theme_display to 'default_theme' to preserve existing behaviour.
File
- ./
layout_builder_modal.install, line 20 - Contains install and update functions for Layout Builder Modal.
Code
function layout_builder_modal_update_8102() {
$config = \Drupal::configFactory()
->getEditable('layout_builder_modal.settings');
$config
->set('theme_display', 'default_theme');
$config
->save();
}