Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I thought I'd fill in the API docs for the one hook. I think I got it all right, but since it's "official" documentation it's worth having a second set of eyes.
Comment | File | Size | Author |
---|---|---|---|
#2 | populate_api_file-2833995-2.patch | 1.34 KB | rupl |
Comments
Comment #2
ruplHere's the patch
Comment #4
ruplcommitting this since it's better to have something and fix it up rather than nothing at all
Comment #6
ruplBumping for 8.x development.
Comment #7
Anybody@rupi still work to be done?
Comment #8
ruplThe API file seems fairly populated, but TBH I didn't evaluate whether it reflected the current state of the D8+ module.
https://git.drupalcode.org/project/pwa/-/blob/8.x-1.x/pwa.api.php
Comment #9
AnybodyAs of #8
Comment #10
AnybodyAs of #8
Comment #11
ChristianAdamski CreditAttribution: ChristianAdamski commentedCurrently listed in .api.php:
Used alter hooks as of 2.x-rc2:
Module:
- pwa_install_path
- pwa_cache_urls_assets_page
- pwa_cache_urls_assets
- pwa_cache_urls
- pwa_exclude_urls
- pwa_replace_placeholders
- pwa_manifest
Missing in .api.php:
- hook_pwa_install_path_alter
- hook_pwa_replace_placeholders_alter
Theme alter hooks:
- pwa_cache_urls_assets_page
- pwa_manifest
Comment #12
ChristianAdamski CreditAttribution: ChristianAdamski commentedFunction definitions:
Therefor api additions:
No idea what these do. Also: use TypeHints?
Comment #13
Anybody