Here is a minimal patch to allow fields of this type to integrate with the 'entity' module and specifically the wrapper generated by entity_metadata_wrapper().
It causes this field to be treated like an integer. I think it would be better if it were treated as a node at a specific revision (because than you'd get useful tokens from entity_token as well). But this atleast prevents it from crashing. :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | entity-integration-1600876-2-d7.patch | 528 bytes | Mouna Hammami |
| entity-integration.patch | 877 bytes | dsnopek |
Comments
Comment #1
bohemier commentedThanks for the patch. Even with minimal support as an integer, it allows handling entities with entity metadata wrapper which is the preferred way of handling entities in code. I think this patch should be committed.
Comment #2
Mouna Hammami commentedRerolling patch.