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. :-)

Comments

bohemier’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community

Thanks 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.

Mouna Hammami’s picture

StatusFileSize
new528 bytes

Rerolling patch.