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.
Thank you, Martin and Olaf! I had a feeling that there might be something out there already :)
I will check all three options (I will look at porting modules) and report back which one...
The Views Watchdog module for Backdrop "extends the Views module and allows to create custom lists of log entries". On Github, there is also a Wiki page with information about available fields,...
Posted3 days 5 hours ago by Olaf Grabienski (Olafski) on:
Hi Irina
I have often wondered this. I have had Log Filter on my list of possible migrations for a while; this uses a JS library to do the filtering. I notice on the project page of this...
Posted3 days 6 hours 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. ;)