Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
In a field 'rewrite as link',
I wanted to be able to hide a custom link if the user doesn't have access to it,
like in contextual link or dropdown links
so I added the same code than contextual link for all 'rewrite as link' fields
the patch will follow
Comment | File | Size | Author |
---|---|---|---|
#4 | views-rewrite_field_as_link__be_able_to_check-2809925-4.patch | 1.76 KB | Andrew Answer |
#2 | views_rewrite_as_link_check_access_path-2809925-02.patch | 1.81 KB | veroniqueg |
|
Comments
Comment #2
veroniqueg CreditAttribution: veroniqueg at Mouvement ATD Quart Monde commentedhere is the patch
Comment #3
Chris Matthews CreditAttribution: Chris Matthews commentedThe 2 year old patch in #2 to views_handler_field.inc does not apply to the latest views 7.x-3.x-dev and if still relevant needs to be rerolled.
Comment #4
Andrew Answer CreditAttribution: Andrew Answer as a volunteer commentedPatch rerolled.