Attached is some demo code for the hooks in the Salesforce Suite. For anyone who wants to explore.

CommentFileSizeAuthor
sf_hookdemo.tar_.gz1.2 KBdpearcefl

Comments

nicodv’s picture

Could you post something similar to this "Demo code for Salesforce Suite hooks" but for D7?

BTW: if I understood this well, i could use the hook_..._post_import() like a trigger (event in rules2) for sending an email to a -for example- certain type of user if that´s what I imported? ...or that´s too complicated and the maximum I can do is a simple action(=send email to a user)?

thanks