What's the proper way to define functions used in installation scripts? I have a long list of data to add in a module, and I'd like to avoid writing a long serial script or just including functions at the bottom or top of the installation script files.
Specifically, I'm wondering if there's a .php
file that can be included for the data
or sql
scripts.
UPDATE: See my answer.