In hook_install() of your module define the appropriate array (name, label, pattern, module, hidden) and add it to default date settings with: system_date_format_save($date_format)
Then add hook_uninstall() to remove the formats when the module is uninstalled.
Heya @DrAlbany,
Yes, if you could add me as a contributor that would be great.
I'm doing a bunch of "triage" on my site these days, fixing stuff and (slowly)...
Posted10 hours 16 min ago by Graham Leach (Graham Leach) on:
Wow!
@bugfolder
What a fantastic response! I am so grateful for the effort you obviously put in.
I just wanted to give you some FF on the sheer size and depth of...
Posted10 hours 19 min ago by Graham Leach (Graham Leach) on:
Hi...,
Our ubercart.dev site is a work in progress...
I'm happy to add you as a contributor etc...
UC is something I use and want to help the documentation live on...
Hi Graham,
I don't have answers to all your questions, but I do for some: answers inline below.
Thank you for your comments, especially the assurance(s) that UC Product Kit...
Comments
Never mind, I figured it out.
In hook_install() of your module define the appropriate array (name, label, pattern, module, hidden) and add it to default date settings with: system_date_format_save($date_format)
Then add hook_uninstall() to remove the formats when the module is uninstalled.
I guess, my question is answered. ;)