When content is deleted the alias for the content should be deleted as well.

Comments

jax’s picture

Title: Delete the alias oon hook_entity_delete » Delete the alias on hook_entity_delete

Fixed title.

janbuelens’s picture

Status: Active » Needs review
StatusFileSize
new1.2 KB
jax’s picture

Status: Needs review » Needs work

This doesn't work when for example a vocabulary is deleted. One should check if the bundle property is set just like in hook_entity_update().

janbuelens’s picture

StatusFileSize
new911 bytes
jax’s picture

Status: Needs work » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.