Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Corresponding Entity References

Security covered Under active development 7,372 sites

This module automatically keeps entity references synchronized, so if one entity references another, the second entity will automatically reference the first. It ensures that these references remain up-to-date even when entities are updated or deleted.

Description

CER keeps reference fields in sync. If you have two entities that refer to each other using Entity Reference (or some other kind of reference field), it saves you the trouble of double-editing your entities in order to have them point at each other. If entity Alice references entity Bob, CER will make Bob reference Alice, and keep the references up-to-date when either entity is updated or deleted.

Props

This is the successor of Corresponding Node References, so a shout-out goes to everyone who ever worked on it!

Dependencies

Which version?

  • 8.x-4.x / 5.x: 5.x is the SemVer successor of 8.x-4.x! You may upgrade without fear. 8.x-4.x will sooner or later be deprecated.
  • Prefer 3.x. It's the active development branch and is a quantum leap over 2.x, featuring a better UI, support for field collections, and native support for other field types besides Entity Reference. It includes add-on modules to integrate with Drupal Commerce and Profile2, as well as a module to override CER settings for individual entities.
  • 2.x is now deprecated, and once there is a stable 3.x release, it will be retired. The only real reason to use it is if you have 1.x and fear database updates -- 2.x does not change the database in any way, so you can drop it in over 1.x safely and easily revert if you run into problems. 2.x's main improvement over 1.x is that it has proper support for Entity Reference fields that use Views as a backend.

CER 1.x is no longer supported. If you're still using it, you should update to 3.x.

Upgrading from CNR?

No worries -- CER will automatically detect the presence of CNR, take over its functionality, and disable it. Easy-peasy.

Sponsors

This module has been sponsored by Digital Loom.

Ask your assistant about Corresponding Entity References

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Mar 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
5.0.0-beta4 Pre-release 10–11 Jan 21, 2025
5.0.0-beta3 Pre-release 9–10 Mar 27, 2023