When creating an entity reference field to an ECK entity, the "Type of item to reference" field lists the Entity Type under the "Other" optgroup. I think this is because the Group Label is usually set as an annotation, but admittedly I don't know D8 that well yet. It's not a big issue but I think the Entity Type should probably be listed as an optgroup, unless I'm getting the intended functionality wrong? I've attached an image.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kafmil created an issue. See original summary.

akalata’s picture

Hi kafmil,

I agree that it's unclear. The definition for the type of ECK entity (aka a bundle) is itself an entity -- and my guess is that since neither the definitions or the option for "an entity of this type" themselves are classified as Content or Configuration, they both show up under Other.

However, since both the bundle definitions and the and "entity of X type"s are defined dynamically, I'm not sure if it's possible to give those a better classification.

akalata’s picture

Status: Active » Needs review
FileSize
1.17 KB
48.16 KB
56.56 KB

This patch categorizes the entity types as configuration, and the bundle types as content. Also attached quick before-and-after screenshots.

  • legolasbo committed 470d329 on 8.x-1.x authored by akalata
    Issue #2554171 by akalata: The "Type of item to reference" field lists...
legolasbo’s picture

Status: Needs review » Fixed

Committed and pushed to 8.x-1.x thanks!

Status: Fixed » Closed (fixed)

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