- Status changed to RTBC
about 1 year ago 3:35pm 4 October 2023 - 🇯🇵Japan moreaniket47@gmail.com Tokyo
Having this feature definitely helps on top of the awesome work that this module does.
Tested patch in #9 and works as expected. Marking as RTBC.fwiw, my use case was to parse menu items having links to view pages with contextual filters in the url path and add them to active trail - which became easy thanks to the hook!
- Status changed to Needs work
about 1 year ago 3:40pm 4 October 2023 - 🇨🇭Switzerland berdir Switzerland
Seems like the alter hook should maybe pass all possible patches so a module could pick one of those?
Also the service should gracefully handle when the injected service is not present, with an optional constructor argument and fall back to \Drupal::service() or people will have a fatal error that they might struggle to resolve.