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.
There is a hook that responds to clearing the sitemaps after a rebuild, but there isn't one for regeneration. Such a feature could be used to clear external caches and the like for the sitemaps.
Comment | File | Size | Author |
---|---|---|---|
#2 | xmlsitemap-regenerate-hook-2930844-2-D7.patch | 886 bytes | jamesgrobertson |
|
Comments
Comment #2
jamesgrobertson CreditAttribution: jamesgrobertson commentedHere is a patch that adds a hook_xmlsitemap_regenerate_finished().
Comment #3
Elijah Lynn+1 for this! RTBC by me.
Comment #4
pifagor+1 RTBC.
Comment #5
pifagorComment #7
pifagor