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 was noticing that the menu_link_content entries were getting a yearly changefreq because of their lastmod calculation. I don't think menu links should have any lastmod, as it's the link url what's important and if at all, it should respect default/specific configurations and not alter it on its own.
Comment | File | Size | Author |
---|---|---|---|
#2 | 3002843-n2.patch | 713 bytes | hanoii |
|
Comments
Comment #2
hanoiiAttached is a patch for this.
Comment #3
renatogReally works good and makes sense
Comment #5
renatogComment #7
Dave ReidDoes this result in a regression for other entity types however? Looks like we might be missing test coverage then.
Comment #8
Dave ReidIt definitely looks like our test coverage is lacking 'lastmod' coverage for entity types like nodes. Confirmed this would be a regression so I'm going to revert this commit for now until we can figure out a better way (and also add test coverage).