FOFModel::onBeforePublish

This method runs before a record is published