You are here

function lazy_update_8307 in Lazy-load 8.3

Enable new configuration with default value `minified = TRUE`.

File

./lazy.install, line 243
Install, update, and uninstall functions for the Lazy-load module.

Code

function lazy_update_8307() {
  $config = \Drupal::configFactory()
    ->getEditable('lazy.settings');
  $config
    ->set('minified', TRUE)
    ->save(TRUE);
}