The callback method called when the hook is triggered.
Optional
onThe callback method which runs if a preceding action has been aborted, or has failed.
Optional
orderAn optional property which defines the order in which the hooks run. If no order is defined, a value of 0 is assigned. Hooks run in ascending order.
A hook object with an execute property that contains a callback which returns a promise.