Allows any entities that are referenced on a deleted entity's fields to also be deleted. This is the converse of Field reference delete whose purpose is to remove any references to a deleted entity from all your other entities (if I delete a taxonomy term, remove all the references to that term from my other content's fields).
The module also takes into account checking if a referenced entity is a default value for any field, and will not delete it in that case.
Supported field types
- Entity reference
- Commerce product reference and line item reference
- Core taxonomy term, file, and image
- Any field module which references an entity table and ID column in it's hook_field_schema() 'foreign keys' array.
An Entity reference field that is using the Inline entity form widget so that users can only create new referenced entities. If you delete an entity that has this field, then this can leave 'abandoned' entities that can no longer be referenced.
A taxonomy term field called 'Tags' which is free-form and allows users to add whatever tags they want. If you get a bunch of spam entries, you want to ensure that the tags the spammer used are also removed if no other content is tagged with those terms.
- Entity Reference Cascade Delete: pretty much a duplicate of this but only works for entity reference fields.
- Inline entity form contains this functionality but it is set to be removed.
- Delete orphaned terms. Our module does not bulk process existing entities to see if they are orphaned or not, which this module does do.
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Fields
- Reported installs: 189 sites currently report using this module. View usage statistics.
- Downloads: 2,489
- Automated tests: Enabled
- Last modified: October 8, 2015
- Stable releases receive coverage from the Drupal Security Team.
Look for the shield icon below.