0

I want to add some specific treatment after creating the content.

Rules module is for similar cases but I look for a hook.

Is there a hook that triggers just after creating content (node)?

Thank you

2

You can use hook_node_presave, it is called right after creation and edits.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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