implementing hook_node_postupdate

Created on 8 November 2018, over 5 years ago
Updated 16 March 2023, over 1 year ago

Hi

After enabling the module, adding the code implementation, clearing the registry, restarting apache/mysql and browser and cache.
I am trying to invoke the following hook, where submitting changes in node/'nid'/edit
My custom module is "my_module".

function my_module_node_postupdate($node) {
  watchdog('hook_post_action_test', 'The updated node @type id is @nid from @function.', array(
    '@nid' => $node->nid,
    '@type' => $node->type,
    '@function' => __FUNCTION__,
  ));
}

There's nothing on the watchdog.
Do you see something wrong?

πŸ’¬ Support request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡ΉPortugal Yorgg

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024