lrq3000/dolibarr — comment on commit 0930eabc8a200b54ef77cca08d16bd9444439b35
File:  line 0
By eldy:

I added all hooks into standard code. This was an opportunity to uniformize hook names. All hooks to add information on
create/update/view cards are called fomrObjectOptions instead of sometimes formObjectOptions, sometimes showInputFields, sometimes
showOutputFields.

For triggers into pdf build function. I'am not sure if it must be a trigger or a hook. There is already triggers XXX_BUILDDOC ran after doc generation but it was a bad idea. It should be hooks. Can you provide me an example of usage of what you want to do with PREBUILDDOC hook ?