In Drupal 8, I have a content type
Medical Records that has a field that is an Entity Reference to
Users. I want to create a View which will display
Medical Records with that field for the currently logged in user.
How can I do that?
Drupal Answers is a question and answer site for Drupal developers and administrators. It only takes a minute to sign up.Sign up to join this community
you have to create a contextual filter, which will take current user as default value, you can find nice explanation and screenshots here:
Just filter on Content: your field name instead of Content: Authored by