add_to_head.install in Add To Head 8
Same filename and directory in other branches
This file just contains an implementaion of hook_uninstall to clean up after ourselves.
File
add_to_head.installView source
<?php
/**
* @file
* This file just contains an implementaion of hook_uninstall to clean up after ourselves.
*/
/**
* Implements hook_uninstall().
*/
function add_to_head_uninstall() {
\Drupal::configFactory()
->getEditable('add_to_head.settings')
->clear('add_to_head_profiles')
->save();
}
Functions
Name | Description |
---|---|
add_to_head_uninstall | Implements hook_uninstall(). |