The "target type" label on the entity reference field settings is unclear:
Only local images are allowed.

Proposed resolution

Let's replace it with something more self-explanatory. The best I've come up with is "What to reference" -- a bit informal, but it gets the point across.

#7 type_of_item.png4.97 KBxjm
#6 entity_reference-1953438-6.patch789 bytesxjm
PASSED: [[SimpleTest]]: [MySQL] 53,585 pass(es).
[ View ]
#6 er-interdiff-6.txt642 bytesxjm
#5 entity_reference-1953438-5.patch643 bytesxjm
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.
[ View ]
#1 what_to_reference.png9 KBxjm
er-target-type.patch635 bytesxjm
PASSED: [[SimpleTest]]: [MySQL] 53,309 pass(es).
[ View ]
target_type_before.png8.78 KBxjm


new9 KB

With the patch applied:


People seem to really want to turn the generic reference field into plugin derivatives, which would make this target type selection obsolete because we would have a different field type for each option in that list.

Maybe we should postopone this on #1847590: Fix UX of entity reference field type selection and #1953836: Replace "Select a field type" with a hierarchical select?

Well, since this is a one-line fix, I'd as soon just get it in. No telling how those other issues will go. Iterative improvements. :)

Tagging for review.

"Type of item to reference" ?

new643 bytes
FAILED: [[SimpleTest]]: [MySQL] Setup environment: Test cancelled by admin prior to completion.
[ View ]

Item! Item is a great word.

new642 bytes
new789 bytes
PASSED: [[SimpleTest]]: [MySQL] 53,585 pass(es).
[ View ]

new4.97 KB

'Type of item to reference' with dropdown

This is certainly better than "target type", I am not sure if its perfect - but its a good improvement, I'd say.

Thanks @Bojhan!

Item! Item is a great word.

Indeed :) I used the same replacement (entity => item) when @chx was looking for something to replace 'entity' in Relation's UI.


Status:Needs review» Reviewed & tested by the community
Issue tags:+Quick fix

Improvement == good enough in my book.

Status:Reviewed & tested by the community» Fixed

That's a little more verbose than we normally do for field labels, but hey. Baby steps! :)

Committed and pushed to 8.x. Thanks!

Automatically closed -- issue fixed for 2 weeks with no activity.