- First commit to issue fork.
- last update
about 1 year ago 48 pass - Status changed to Needs review
about 1 year ago 6:35pm 1 February 2024 - last update
about 1 year ago Patch Failed to Apply - πΊπΈUnited States karlshea Minneapolis πΊπΈ
I don't think a new alter hook is needed, I just think there's a bug here.
The documentation for
$context['source']
onhook_pathauto_alias_alter()
states "This can be altered by reference." That is true, altering there will save an alias with a different source. However, re-saves of the same entity will create multiple aliases because the source hasn't been altered when checking for an existing alias.Moving that documentation to
hook_pathauto_pattern_alter()
and passing$source
by reference to that hook works through multiple saves.