Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm trying to reference a field in a new created profile in a custom content type. I added a reference field to my custom content type and chose profile as the reference source. On the field definition form, it lists a bundle field as required input, but there is not field shown. Also, there is no explanation as to what a "bundle" is. (see picture.
Comment | File | Size | Author |
---|---|---|---|
#4 | profile-entity-reference-field-settings-label-2670688-4.patch | 1.56 KB | dakala |
bundles.jpg | 34.06 KB | zoon_unit |
Comments
Comment #2
mglamanThere was some funk with profile bundles; with #2641368: PluginNotFoundException committed, can you try this against -dev?
Comment #3
dakalaI suppose we need to implement an @EntityReferenceSelection plugin
Comment #4
dakalaAttached patch is a first attempt at a solution for this issue. The screenshots show Profile listed in the Reference group when adding new fields and the output.
Comment #5
dakala@mglaman: Sorry I nicked this issue :-) I've just noticed the status and changed it.
Comment #6
mglamanCopy and paste whoopsie :) Also, we no longer need file document blocks for files with a single class.
I'll test this out
Comment #8
mglamanLooks great, thanks!