function advagg_mod_update_8201 in Advanced CSS/JS Aggregation 8.2
Same name and namespace in other branches
- 8.4 advagg_mod/advagg_mod.install \advagg_mod_update_8201()
- 8.3 advagg_mod/advagg_mod.install \advagg_mod_update_8201()
Implements hook_update_N().
Set the css_defer_admin setting value.
File
- advagg_mod/
advagg_mod.install, line 13 - Handles Advanced Aggregation mod submodule installation and upgrade tasks.
Code
function advagg_mod_update_8201() {
\Drupal::service('config.factory')
->getEditable('advagg_mod.settings')
->set('css_defer_admin', FALSE)
->save();
}