Last updated November 3, 2015. Created on September 20, 2012.
Edited by mrchone, peterx, amitaibu. Log in to edit this page.

The Entity reference module provides a field type to reference entities.

Drupal 6 offered 'node_reference' and 'user_reference' field types. They were replaced in Drupal 7 by the References module. Entity reference is the new approach and handles references to every type of entity.

Because the references are at the entity level, they can appear in all sorts of places and modules can reuse the code everywhere.

This page is a collection of resources about the contributed Entity reference module.

Looking for support? Visit the forums, or join #drupal-support in IRC.


Gabriel Radic’s picture

Please consider adding a documentation page for the topic: "How to modify an entity reference field programmatically?"