At the moment there is no way to customize license key generation. Create a new hook that passes in the new license object by reference, keyword and branding string before the license is saved.
At the moment there is no way to customize license key generation. Create a new hook that passes in the new license object by reference, keyword and branding string before the license is saved.
Comments
Comment #1
nicksanta commentedThis is now possible in hook_licensingapi $op == 'generate'
Have a look at how licensing module implements this to get an idea of how to bend it to your will.
Comment #2
nicksanta commented