My entity link was not displayed at the user view, probably the bundle selection was working against me. It's weird to have to select a bundle where none exists.
Attached patch fixes bundle selection to not show up for entity types without bundles. Also it fixes the bundle restriction to be stored as "no selected bundle" what is necessary for the rules-link to remain working when bundles are added + makes run-time checks simpler.
Attached patch fixes my problem with the user-view too.
unrelated: It would be nice to have hook_field_extra_fields() implemented too.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | rules_link_bundles_fix.patch | 779 bytes | dasjo |
| rules_link_bundles.patch | 5.2 KB | fago |
Comments
Comment #1
sepgil commentedthx, commited and pushed it.
Comment #2
dasjowrong usage of entity_extract_ids caused misbehavior, see attached fix
Comment #3
mh86 commentedhelps a lot.
Comment #4
sepgil commentedthx, committed it.
Comment #5
MStrzelecki_ commentedthx for patch, great job!