function header_and_footer_scripts_uninstall in Header and Footer Scripts 8
Same name and namespace in other branches
- 8.2 header_and_footer_scripts.install \header_and_footer_scripts_uninstall()
Implements hook_uninstall().
File
- ./
header_and_footer_scripts.install, line 11 - Uninstall functions for header_and_footer_scripts module.
Code
function header_and_footer_scripts_uninstall() {
\Drupal::service('config.factory')
->getEditable('header_and_footer_scripts.header.settings')
->delete();
\Drupal::service('config.factory')
->getEditable('header_and_footer_scripts.body.settings')
->delete();
\Drupal::service('config.factory')
->getEditable('header_and_footer_scripts.footer.settings')
->delete();
}