My searches have turned up nothing, I'm sure it is something simple but I can't figure it out.
To give a simple version of my set up: I have a content type for publications, that publication has a paragraph field for authors. That paragraph field accepts either a user linked by entity reference, or a non-user author (a set of text fields). My end goal is to display them in proper order like so:
Authors: Staff Author 1, Non-Staff Author 1, Non-Staff Author 2, Staff Author 2, Staff Author 3
Replacing the text there with actual author names. The order needs to be the order in which they were entered, which is the reason I am using paragraphs (I can mix types and keep the order)
Unfortunately the view options for the entity reference that work for the Users seem to be: Entity ID or Rendered Entity. Entity ID just gives me a number (which I'm sure I could then use in a preprocess function to load the user info and display it as desired -- if that is the best approach, please give me some guidance on where to start), Rendered Entity gives me a User Account full display including photo. I only want the name linked.
In How can I change a rendered user display to a combination of fields linking to the user? I got the answer about how to change user links, but how can I get this reference to show as a user link?
That paragraph field accepts either a user linked by entity reference, or a non-user author
how where you able to accomplish this, did you add two different fields to your paragraph bundle?