Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
dwightaspinwall CreditAttribution: dwightaspinwall commentedYou 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.