Page 1 of 1

Is there an event fired when a content item is deleted?

Posted: Mon Feb 25, 2008 11:55 pm
by permalink
I am creating a component that adds fields to a content items using a relation table. This simple M2M relation table is fields_content and it relates content ids to field ids from a fields table. I would like to be able to clear out the relationship table of old content ids when the content is deleted. Is there an event that is fired when a content item is deleted/modified/changed? Or any other way of deleting records from my relation table when the content item no longer exists?
Thanks.