Description of the need The ability for a site builder to check a box and make a block into an accordion to save space on the page.
This came up with the new welcome block being proposed for the dashboard #3994. I think it would be great if the welcome block could be closed and why not provide this option for other blocks. I think it would be especially useful on the dashboard.
Alternatives that have been considered Is there a contributed module that accomplishes this?
I don't remember if I've used it. But there is at least one Drupal 7 contrib module that does this: https://www.drupal.org/project/accordion_blocks
...if not, then create a request for it to be ported: https://github.com/backdrop-ops/contrib/issues/349
Recent comments
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'] = (...
How to programmatically insert an array into config file
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
Porting Organic Groups module to Backdrop
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