function minifyhtml_test_install in Minify Source HTML 8
Implements hook_install().
File
- tests/
modules/ minifyhtml_test/ minifyhtml_test.install, line 11 - Contains module install functionality.
Code
function minifyhtml_test_install($is_syncing) {
\Drupal::configFactory()
->getEditable('minifyhtml.config')
->set('strip_comments', TRUE)
->set('minify', TRUE)
->save();
}