You have on the front page:

WARNING: Module only call delete hooks when the node/entity is actually delete from database. However the same does not apply to update/insert since it cannot find out whether the node/entity is updated/inserted or not.

Please update this to read:

WARNING: The _postsave, _postinsert and _postupdate hooks are also called when the entity/node is deleted, as there is no way to find out whether the entity/node is actually saved/inserted/updated. However, the module does only call the delete hooks when the entity/node is actually deleted from database.

Comments

DarrellDuane created an issue. See original summary.

sinasalek’s picture

Status: Active » Fixed

Thanks DarrellDuane, commited

sinasalek’s picture

Version: 7.x-1.0-beta1 » 8.x-1.x-dev
Status: Fixed » Patch (to be ported)

  • sinasalek committed 1eb6c95 on 8.x-1.x
    * [#2713837] Fix Documentation about when hook is called
    
sinasalek’s picture

Status: Patch (to be ported) » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.