I have two Drupal modules.
Lets call them modlib and modform.
They've been written separately because the JS library needs to be used in multiple places, on various different forms, in different parts of the system.
This is working well. I can reference the JS code in modlib from within modform using
However modlib also includes some configuration which needs to be loaded into
Can anyone help? Thank you.