Same name in other branches
  1. 5.0.x advagg_mod/advagg_mod.install \advagg_mod_update_8201()
  2. 6.0.x advagg_mod/advagg_mod.install \advagg_mod_update_8201()
  3. 8.x-3.x advagg_mod/advagg_mod.install \advagg_mod_update_8201()
  4. 8.x-4.x advagg_mod/advagg_mod.install \advagg_mod_update_8201()

Implements hook_update_N().

Set the css_defer_admin setting value.

Fichier

advagg_mod/advagg_mod.install, line 13

Code

function advagg_mod_update_8201() {
    \Drupal::service('config.factory')->getEditable('advagg_mod.settings')
        ->set('css_defer_admin', FALSE)
        ->save();
}