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