Thanks for those ideas. Here is what I'm doing now that works.
This adds the video_filter to the config file.
$format = filter_format_load('filtered_html');
$format->filters['video_filter'] = (...
The port of Organic Groups is within days (if not hours) of a beta release. Feel free to help test and report issues.
https://github.com/backdrop-contrib/og
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('...
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...
Posted20 hours 24 min ago by Peter Anderson (BWPanda) on:
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...
Comments
This is a bug that has affected other releases, caused by the packaging script that prepares the zip file.
I'll report this in the Zulip channel so that the maintainers can do a re-release.
This has now been fixed. The update should now work. Let us know if it doesn't.
Thank You for the post. I recreated the release, and it works.