function demo_uninstall in Demonstration site (Sandbox / Snapshot) 8
Same name and namespace in other branches
- 6 demo.install \demo_uninstall()
- 7 demo.install \demo_uninstall()
Implements hook_uninstall().
File
- ./
demo.install, line 6
Code
function demo_uninstall() {
\Drupal::service('config.factory')
->getEditable('demo.settings')
->clear('demo_reset_last')
->save();
\Drupal::service('config.factory')
->getEditable('demo.settings')
->clear('demo_dump_cron')
->save();
}