Hello,
Just before I delete a record from one table I need to look up, if there is a corresponding record in another table.
If there is, then delete from main table should be impossible.
I wonder if I should use callback_before_delete or just callback_delete?
I walnted to use callback_delete but I don't know how to acquire record id from main table for delete purposes.