minifyhtml_test.install in Minify Source HTML 8
Contains module install functionality.
File
tests/modules/minifyhtml_test/minifyhtml_test.installView source
<?php
/**
* @file
* Contains module install functionality.
*/
/**
* Implements hook_install().
*/
function minifyhtml_test_install($is_syncing) {
\Drupal::configFactory()
->getEditable('minifyhtml.config')
->set('strip_comments', TRUE)
->set('minify', TRUE)
->save();
}
Functions
Name | Description |
---|---|
minifyhtml_test_install | Implements hook_install(). |