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.
To configure breadcrumbs dynamic URL using a dedicated field in a taxonomy and a replacement pattern in the url field of breadcrumbs.
In some cases i want no link and I have tried to set <none>
as a value in the field of taxonomy and the substitution pattern (eg %term:url). This return the sanitize value and created a link instead of a plain text.
Check in on to understand, it is because the default and secure behavior of Token is to sanitize value of field targeted.
Comment | File | Size | Author |
---|---|---|---|
#2 | path_breadcrumb-allow_none_in_token_for_url-2671080_2.patch | 1.16 KB | phileas75 |
Comments
Comment #2
phileas75 CreditAttribution: phileas75 commentedThis is the patch to allow value
<none>
in token.Comment #3
phileas75 CreditAttribution: phileas75 commentedComment #4
phileas75 CreditAttribution: phileas75 commentedComment #5
phileas75 CreditAttribution: phileas75 commented