Use sensible fallbacks if hook_replicate_entity_ENTITY_TYPE() does not exist

Created on 6 January 2014, over 11 years ago
Updated 28 July 2025, 5 days ago

replicate.module now has several hooks to support core entity types. These hooks (with exceptions for node and comment) all do just 1 thing:
setting the entity id (and revision id if it exists) to NULL. This can be done in a more generic way in a separate function so it can also be used by contrib. Patch will follow.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇧🇪Belgium jelle_s Antwerp, Belgium

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024