MockDataObject::onBeforeDelete
Cleans up the {@link MockDataLog} records. This is kind of expensive to attach to every DataObject for every delete, but fortunately this module is never used in production.
Signature
public function onBeforeDelete()