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'm really hoping to make this simple change on new content types: https://github.com/backdrop/backdrop-issues/issues/7080
Let's disable the "Display author and date information" by...
For our DEV meeting:
an older bug needs (and could have) a fix.
Issue #5729 - Views: Search Filter: On Empty Input "Show None" option Shows All
There are 2 pull requests, but one...
Ruby Text can be a bit of a hassle to edit...
Yes, I can imagine that. No idea, how an editor dialog (or whatever) for easier editing of those should look like - in terms of...
"why are these tags only relevant for admins?" I'm allowing the editor as well. That being said, Ruby Text can be a bit of a hassle to edit... easy to accidentally delete a tag or part of a...
Out of curiosity: why are these tags only relevant for admins?
Don't "regular" editors on that site also need them under circumstances?
Yes, the editors play nicely, no problem to...
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. ;)