2

I looked after a module_invoke_all('taxonomy_term_update') in the taxonomy module (and more in the entire Drupal core) but I didn't find anything.

Where does that hook get invoked in the code?

1 Answer 1

3

It's invoked from taxonomy_term_save().

The reason you can't find it is because the hook gets invoked via an interpolated string, depending on the current operation (insert or update):

module_invoke_all("taxonomy_term_$op", $term);
1
  • Thanks dude! Even while searching for invoke in the code I saw nothing... I need new glasses! Sep 11, 2012 at 8:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.