hook_pwa_manifest_alter |
./pwa.api.php |
Manually alter manifest.json |
|
|
pwa_admin_configuration_manifest |
./pwa.admin.inc |
Configure PWA settings for manifest.json |
|
1 |
pwa_admin_configuration_submit |
./pwa.admin.inc |
Helper function to refresh Service Worker once admin settings are saved. |
|
2 |
pwa_admin_configuration_sw |
./pwa.admin.inc |
Configure PWA settings for Service Worker. |
|
1 |
pwa_deliver_js_file |
./pwa.pages.inc |
Deliver the JS for the service worker. |
|
1 |
pwa_flush_caches |
./pwa.module |
Implements hook_flush_caches(). |
2 |
|
pwa_install |
./pwa.install |
Implements hook_install(). |
|
|
pwa_library |
./pwa.module |
Implements hook_library(). |
|
|
pwa_menu |
./pwa.module |
Implements hook_menu(). |
|
|
pwa_modernizr_info |
./pwa.module |
Implements hook_modernizr_info(). |
|
|
pwa_module_active |
./pwa.pages.inc |
Route to confirm for SW that module is still active. |
|
1 |
pwa_offline_page |
./pwa.pages.inc |
Default page when for when the user has no connection. |
|
1 |
pwa_permission |
./pwa.module |
Implements hook_permission(). |
|
|
pwa_preprocess_html |
./pwa.module |
Implements hook_page_alter(). |
|
|
pwa_requirements |
./pwa.install |
Implements hook_requirements(). |
|
|
pwa_serviceworker_file_data |
./pwa.pages.inc |
Returns the JS of the service worker. |
|
1 |
pwa_uninstall |
./pwa.install |
Implements hook_uninstall(). |
|
|
_pwa_fetch_offline_page_resources |
./pwa.module |
Discover CSS/JS assets present in offline URLs so they can be cached during
the Service Worker install event. |
1 |
|
_pwa_manifest_data |
./pwa.module |
Generate the for the manifest file. |
2 |
|
_pwa_manifest_file |
./pwa.module |
Generate JSON of the manifest data. This is the final file used by browsers. |
1 |
|
_pwa_serviceworker_file |
./pwa.module |
Take the serviceworker template file and replace all the variables needed. |
2 |
|