Update node revision time in hook_entity_presave In my site Drupal 8, I have custom entities (say components) and bundles. I load these entities in a node using the Inline entity module.
On the front-end, the contextual links provide two edit links: an edit link to edit the node with all inline entities and a link for a specific entity. When users use the second link, they get the edit page for that entity and its field values. Using the second link, the node last update value won't change.

I tried updating the node value in hook_entity_presave(), but it creates infinite redirection. How do I avoid it?
Make sure you don't call $node-&gt;save() in your presave, just update the time, the save will happen automatically.