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.
This is the report about the recently discovered bug: https://github.com/backdrop-contrib/simplenews/issues/83.
First, how do you know if your site is affected? In other words: Are there...
Posted9 min 50 sec ago by Olaf Grabienski (Olafski) on:
Hi Kevin
I am interested assisting you developing a theme by cloning feature from existing WordPress website.
Please let me know your suitable time to discuss further...
Posted1 week 5 days ago by Deep Vyas (deepvyas) on:
I've updated the Zulip link in both places I found it. No need to post again, unless you have something new to say. We'll pull together feedback from all the sources.
Should we post here again, what we posted over there? Or would that unnecessarily duplicate things?
The link to a Zulip thread in this initial post leads to an internal one, but there's...
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. ;)