From: Lucas D Hedding <lucashedding@gmail.com>
To: support@drupal.org; Nancy Wichmann <nan_wich@bellsouth.net>
Sent: Thursday, September 12, 2013 2:45 PM
Subject: Re: [support] Hook after node_save()
Nancy, you might try: https://api.drupal.org/api/drupal/modules%21system%21system.api.php/function/hook_entity_update/7. And you might have to reset the entity cache. This is untested.entity_get_controller('node')->resetCache(array($node->nid));
LucasOn Thu, Sep 12, 2013 at 1:36 PM, Nancy Wichmann <nan_wich@bellsouth.net> wrote:just to prove that my code would work, I put it in hook_node_update(). Unfortunately, that hook runs before node_save() completes, so the updated data is not written to the DB yet. I can't find any hook that runs after node_save() is complete. Does anyone have any ideas?
Nancy
--
[ Drupal support list | http://lists.drupal.org/ ]
--
[ Drupal support list | http://lists.drupal.org/ ]