Help with getting things done and fixing problems.
Help with getting things done and fixing problems.
Posted 5 hours 14 min ago by (stpaultim) in How-To and Troubleshooting
Posted 1 day 11 hours ago by (stpaultim) in How-To and Troubleshooting
Posted 2 days 10 hours ago by (stpaultim) in How-To and Troubleshooting
Recent comments
I agree with BWPanda about the better way to add a filter. As for your general question on how to add an array to a config file (which gets stored as json), have you tried: $config = config('...
How to programmatically insert an array into config file
I think that directly editing config is rarely, if ever, the best way to do something... Perhaps try loading a format (with it's filters) using filter_format_load(), add the new filter array (by...
How to programmatically insert an array into config file
My initial goal was to create a menu item that linked to a view that I had configured and that was being created on installation of the module, by including the view config file. To do this, I just...
How to programmatically create a menu link