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
I recently ran into the same error: Exception: The configuration directory in settings.php is specified as 'files/config_[some-random-CMI-ID-here]/active', but this...
Live deployment Configuration Directory error
https://github.com/shabib-m/tailwindcss/wiki
Free Backdrop Theme built on Tailwind CSS v3 (Based on Basis) - Seeking Feedback & Ideas!
Admin Edit - note the image above is a link to the YouTube video.
Free Backdrop Theme built on Tailwind CSS v3 (Based on Basis) - Seeking Feedback & Ideas!