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 may be missing something, but the profile base fields on user entity type in profile_entity_base_field_info() don't seem to set the "target_bundles" property. So each field specific to a profile type can technically reference any profile bundle. This gets confusing when using an inline_entity_form complex widget.
Attached patch sets the target_bundles property. Please let me know if I'm missing something.
Comment | File | Size | Author |
---|---|---|---|
#2 | user-base-field-profile-field-set-target-bundles-3112453-2.patch | 1.29 KB | jienckebd |
Comments
Comment #2
jienckebd CreditAttribution: jienckebd as a volunteer commentedComment #3
mglamanComment #5
mglamanCommitted, thanks!