function pwa_uninstall in Progressive Web App 2.x
Same name and namespace in other branches
- 8 pwa.install \pwa_uninstall()
- 7.2 pwa.install \pwa_uninstall()
- 7 pwa.install \pwa_uninstall()
Implements hook_uninstall().
File
- ./
pwa.install, line 71 - PWA install hooks.
Code
function pwa_uninstall() {
// Remove the pwa images.
\Drupal::service('pwa.manifest')
->deleteImage();
// Remove the pwa configuration.
\Drupal::configFactory()
->getEditable('pwa.config')
->delete();
}