Remove auto-deleting of child entities

Created on 12 April 2013, almost 12 years ago
Updated 8 January 2025, 27 days ago

inline_entity_form.module contains the following:

/**
 * Implements hook_entity_delete().
 *
 * Deletes referenced entities if needed.
 *
 * @todo Remove when there's a stable contrib module for this.
 */
function inline_entity_form_entity_delete($entity, $type) {

I agree and think this functionality is not specific to inline_entity_form at all. So I wrote http://drupal.org/project/field_referenced_delete which works out of the box with entityreference fields, and should eventually support any fields that use the 'foreign keys' in hook_field_schema() correctly.

πŸ“Œ Task
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States dave reid Nebraska USA

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.

  • πŸ‡ΊπŸ‡ΈUnited States dcam

    Since Drupal 7 is now end-of-life I am closing some old issues for the 7.x branch of this module. If this issue is still relevant for the 3.x branch of the module, then feel free to reopen it.

Production build 0.71.5 2024