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.
Wondering if it is possible to add in support for wildcards when creating custom links, enabling one to create a priority based on url length. For example:
/ 1.0
/* .8
/*/* .6
and so on.
Comments
Comment #2
jecunningham2281 CreditAttribution: jecunningham2281 as a volunteer commentedComment #3
gbyte CreditAttribution: gbyte commentedSounds like a sweet feature and yes, it is possible, however not a priority right now. Setting to postponed until we add features of higher priority. Still I will gladly review any patches for this.
Comment #4
gbyte CreditAttribution: gbyte commentedGoing to close this due to the lack of interest of the wider community. Anyone feel free to reopen and submit a patch.
Comment #5
fc_bh_sa CreditAttribution: fc_bh_sa commentedI have a website with over 150+ pages with the url structure /resource/language/*. Would like to have this feature implemented so that I can add custom link with a higher priority.
/resource/language/* 0.8 weekly
Comment #6
gbyte CreditAttribution: gbyte commentedGenerally you would implement a URL generator plugin for links that are so specific to your use case, or use the provided hook to add links. Is that out of the question for you? I am still not opposed to accept patches for this if anyone wants to step up.