Description of the need
Of all the config management functions that are wrappers for Config objects, only conifg() takes a $type parameter to look config storage besides the active storage.
For consistency, I'd like to see the others take an optional $type with a matching default.
function config($config_file, $type = 'active')
function config_clear($config_file, $option)
function config_is_overridden($config_file, $option)
function config_get($config_file, $option = NULL)
function config_get_translated($config_file, $option = NULL, $args = array(), $options = array())
function config_set($config_file, $option, $value)
function config_set_multiple($config_file, $options)
Proposed solution
Add an optional $type = 'active' to any config_*() function that calls config($config_file) with the passed in $config_file
See #3902.
Recent comments
for instance, to set up a layer for water basins and another for mining concessions... Are those tiles from a tile server, or some GeometryCollection in local file in json...
Layer management in Leaflet
Thanks for responding. I was expecting that it be relatively easy to manage overlay layers (not the base layers that are indeed controlled form the Leaflet More Maps module's settings page)....
Layer management in Leaflet
We were able to add overlays and polygons to leaflet with a custom module as mentioned in https://github.com/backdrop-contrib/leaflet/issues/73#issuecomment-2907873081 with a combination of php...
Layer management in Leaflet