You are here

function pwa_admin_configuration_submit in Progressive Web App 7

Helper function to refresh Service Worker once admin settings are saved.

2 string references to 'pwa_admin_configuration_submit'
pwa_admin_configuration_manifest in ./pwa.admin.inc
Configure PWA settings for manifest.json
pwa_admin_configuration_sw in ./pwa.admin.inc
Configure PWA settings for Service Worker.

File

./pwa.admin.inc, line 167
PWA administration forms.

Code

function pwa_admin_configuration_submit($form, &$form_state) {
  pwa_flush_caches();
}