I have a Drush script that I am running from my Drupal environment which loads a particular module that I want to get access to. Particularly, I want to use one of the functions it has defined in one of it's included files.
I tried just calling the function in my script, but PHP fails with an error citing an undefined function.
I am running the script as follow:
drush php-script ~/path/to/script.php
And this is my script in its entirety right now:
<?php $val = biblio_get_contributor(1); print_r($val); ?>
biblio_get_contributor($aid) is most definitely defined in the module.
So to sum up, I need to get this module's functions loaded somehow. Thoughts?