Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). Varbase Media Header 9.2.1 Minor update available for module varbase_media_header (9.2.1). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

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.

Activity

Total releases
1
First release
Jan 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Release date
5.0.0-beta4 Pre-release Jan 21, 2025