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.
Well I am back with this same problem and it is nearly 2 years on.....
I have tried to remove the Image Resizing which helps.
If I open the page in a Private Tab, then the images...
Posted4 hours 24 min ago by Francis Greaves (themetman) on:
I finally created two commands that work. They are a bit sloppy and could use improvements. I welcome PR's.
Sharing them here:
https://github.com/stpaultim/ddev-custom-commands-...
The access callback _devel_switch_user_access() for the menu item admin/devel/switch actually checks for a valid security token passed in the path as a GET request (under the key token).
So, you...
Posted2 days 3 hours ago by Alejandro Cremaschi (argiepiano) on:
Odd. I just tried enabling UC Discounts on a test site with no problem. I'll echo @argiepiano: is there a line number and/or file name in the error? If not on the screen, is there more info in...
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. ;)