In drupal 7, nodes and users will be handled by entity.inc as 'entities'. Other entities include comments and terms. Contrib modules can add new entities. Would it therefore not be best to replace Node Reference and User Reference with a multi purpose Entity Reference?
There might be a missing piece of the puzzle here in that entity.inc might not provide the information for how to format the output or link to the entity.
Nevertheless, if we could abstract referencing on an entity level we can simplify the implementation of cck references.
I am the maintainer of Block Reference and View Reference, and given how similar the coding is to Node Reference and User Reference I would like to see less redundancy and work caused by separate modules.
Has anyone looked into something like this?

Comments

yched’s picture

markus_petrux’s picture

Status: Active » Closed (duplicate)

Let's mark this as a dup, and re-open the other issue to allow further discussion on the topic.

yched’s picture

Yes, I meant to mark as duplicate, thanks Markus.

mitchell’s picture