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

Implements hook_update_N().

Set the css_defer_admin setting value.

Fichier

advagg_mod/advagg_mod.install, line 15

Code

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