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.
If there is time, carried over from last week as we didn't have time to look at it then, I would welcome feedback on the approach I've taken to:
[A11Y] Update aria role on...
Posted2 hours 15 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
If there's some time left after discussing code signing (yay!)...
1. Friendly reminder: usage stats are still broken
Didn't data get fetched at all (broken parser) or is it a display...
Sorry - it is the field_group module.
However, last night I switched off proxying to the site and proved to Cloudflare Support that it was NOT a Backdrop issue. After a thorough...
I'm also now getting a 403 when trying to access admin/reports/updates - it seems to be Backdrop generated but there is nothing in the Recent Log messages other than my login as admin...
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. ;)