function advagg_mod_update_8301 in Advanced CSS/JS Aggregation 8.3
Same name and namespace in other branches
- 8.4 advagg_mod/advagg_mod.install \advagg_mod_update_8301()
Remove orphaned configuration option for google analytics.
File
- advagg_mod/
advagg_mod.install, line 25 - Handles Advanced Aggregation mod submodule installation and upgrade tasks.
Code
function advagg_mod_update_8301() {
$config = \Drupal::configFactory()
->getEditable('advagg_mod.settings');
$config
->clear('ga_inline_to_file');
$config
->save();
}