copyprevention.install in Copy Prevention 8
Same filename and directory in other branches
Install and uninstall functions for Copy Prevention module.
File
copyprevention.installView source
<?php
/**
* @file
* Install and uninstall functions for Copy Prevention module.
*/
/**
* Implements hook_uninstall().
*/
function copyprevention_uninstall() {
\Drupal::configFactory()
->getEditable('copyprevention.settings')
->delete();
}
Functions
Name | Description |
---|---|
copyprevention_uninstall | Implements hook_uninstall(). |