function minifyhtml_update_8001 in Minify Source HTML 8
Set the default value of the strip_comments configuration variable.
File
- ./
minifyhtml.install, line 11 - Install and update hooks for the Minify HTML module.
Code
function minifyhtml_update_8001() {
\Drupal::service('config.factory')
->getEditable('minifyhtml.config')
->set('strip_comments', 1)
->save();
}