Informs plugins of object store operations. This should be treated as for information only.
Plugins cannot affect the operation.


Name Type Description
object StoreObject The object which has been changed
operation String What operation was performed: ‘create’, ‘update’, ‘relabel’ or ‘erase’
previous StoreObject The previous version of the object, or null


No data is returned in the response object.

JavaScript template

P.hook('hPostObjectChange', function(response, object, operation, previous) {
    // Respond to hook