When using the system setup erase data an action is created. To hook this action the event would be eraser_erase.

Did this answer your question?