Quantcast
Viewing all articles
Browse latest Browse all 295657

Autocreate for Entity Reference selection handlers that extend ViewsSelection

Problem/Motivation

Autocreate a is a great UX option for Entity Reference fields. Currently it is not available if you choose "Views" as the "Reference method", which is necessary if you want to filter the available choices.

Proposed resolution

Create an auto create EntityReferenceSelection plugin which extends ViewsSelection.

Remaining tasks

See #96
See #98
Review

User interface changes

Entity reference field type will have one more reference method Views: Filter by an entity reference view and allow autocreation.
When this option is selected and Create referenced entities if they don't already exist is checked, new referenced entities with title will be created. If more then one bundle exists for referenced entity, then a Store new items in select option will be shown to choose the bundle.
Image may be NSFW.
Clik here to view.

API changes

None.

Data model changes

None.


Viewing all articles
Browse latest Browse all 295657


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>