I'm pretty new to drupal and I don't quite understand the callback function field. I get that the field will populate the "To:" field with addresses, I just don't know where I should put the callback function. Does it go in the pet.module file or just a custom php file somewhere on the site? A tutorial would be very helpful.

Comments

dwightaspinwall’s picture

You can put the function in any module of your own. Definitely don't want to alter the pet module itself for this. Think of it as a hook, if that helps.