You are here

minifyhtml_test.install in Minify Source HTML 8

Contains module install functionality.

File

tests/modules/minifyhtml_test/minifyhtml_test.install
View 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

Namesort descending Description
minifyhtml_test_install Implements hook_install().