You are here

function modal_page_update_400010 in Modal 4.0.x

Same name and namespace in other branches
  1. 4.1.x modal_page.install \modal_page_update_400010()

Update the performance settings with default value.

File

./modal_page.install, line 588
Install, update and uninstall functions for the Modal Page.

Code

function modal_page_update_400010() {
  $config = \Drupal::configFactory()
    ->getEditable('modal_page.settings');
  $config
    ->set('clear_caches_on_modal_save', 1);
  $config
    ->save();
}