Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
When showing user specific blocks on profile pages It would be helpful to be able to use the uid from the profile in the route as a default contextual filter for views
here is a patch that does it.
Comment | File | Size | Author |
---|---|---|---|
#3 | views_default_argument_profile_owner--3162693--2.patch | 2.42 KB | loze |
Comments
Comment #2
loze CreditAttribution: loze commentedComment #3
loze CreditAttribution: loze commentedPatch was wrong, this one works.
Comment #4
mglamanLooks straight forward, as a copy and paste of \Drupal\node\Plugin\views\argument_default\Node.
Comment #6
mglamanCommitted, thanks! 🥳