Would it be possible to use hook_url_alter() from the Url alter module instead of hook_term_path() to change the term path? This would allows us to change not only the path, but also the options, such as the path query and fragment. Currently this is not possible because of the limitations of hook_term_path() (See #325132: Unable to put query string in my path).

Comments

Agileware’s picture

Maybe instead of completely replacing hook_term_path with hook_url_alter we can look at having an option to use the url alter module instead of the hook_term_path if the user wants to.

Will have a look into the url alter module.

dboulet’s picture

That's a good idea. So we could have the choice of installing the url_alter module if we wanted extra options.