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 currently look after 97 Backdrop sites... 37 Drupal sites that need migrating... 17 WordPress sites... 23 tiny HTML sites (holding pages/simple intros) a few Wix and Squarespace sites...
Having built around 25 websites in Drupal 7, I have been delighted with the process of upgrading them to Backdrop CMS over the past couple of years.
Most notable are the following...
Posted12 hours 55 min ago by Martin Jones (nattyweb) on:
That worked well and saved me a lot of hassle trying to reformat the view and css! Brilliant!! I hadn't thought of adding a tooltip... makes so much more sense once its pointed out.
Neat...
Webforms are actually a new content type created by the Webform module.
On the Admin Bar go to Structure > Content types > Webform > Configure
Then select the Display...
Posted13 hours 10 min ago by Martin Price | System Horizons Ltd (yorkshirepudding) on:
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. ;)