It'd be nice to have the following hooks in the documentation:
- hook_commerce_payment_transaction_insert()
- hook_commerce_payment_transaction_update()
- hook_commerce_payment_transaction_delete()
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | 2630292-6-add_commerce-payment_hook_documentation.patch | 1.62 KB | nvahalik |
Comments
Comment #2
nvahalik commentedComment #3
mglamanDocumentation FTW, PhpStorm hook autocomplete helper FTW.
Comment #4
rszrama commentedI feel like we have another issue open for these sorts of generic entity API hooks for all entity types. We can go ahead and add Payment Transaction entity type hook docs through this one, but let's also add doc blocks for the presave and load hooks.
Comment #5
nvahalik commentedUpdated patch to include the load hook. Presave is already included in the API file.
Comment #6
nvahalik commentedChanged it from "entity ID" to transaction_id. Should be good to go now.
Comment #8
rszrama commentedNice, I missed that presave was already in there. : P