Problem/Motivation
No option is available to only include published entities when using entity references.
Proposed resolution
See Patch.
Remaining tasks
Review patch.
User interface changes
Add checkbox to the UI to toggle feature.
API changes
None
Data model changes
None