How do I update a node (book or Page) before saving it without touching the module code in Drupal?

Posted by German on Stack Overflow See other posts from Stack Overflow or by German
Published on 2010-05-16T01:20:24Z Indexed on 2010/05/16 1:30 UTC
Read the original article Hit count: 201

Filed under:
|
|
|
|

I would like to set some values in the node before actually writing the data to the DB. I already have it working by modifying book_nodeapi but I would like to do it from outside the code, some _alter option that allows me to leave the module code untouched would be great.

Thanks

© Stack Overflow or respective owner

Related posts about drupal

Related posts about nodeapi