Entity reference

danielb - November 7, 2009 - 08:57
Project:Content Construction Kit (CCK)
Version:7.x-2.x-dev
Component:General
Category:feature request
Priority:normal
Assigned:Unassigned
Status:duplicate
Description

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?

#2

markus_petrux - November 7, 2009 - 21:27
Status:active» duplicate

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

#3

yched - November 8, 2009 - 01:30

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

 
 

Drupal is a registered trademark of Dries Buytaert.