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
Perhaps, these latest lines of random test failures can be considered in the meeting too?
December 18th, 2025 - Weekly Meetings
There are some test failures in the user module after merging in the latest commits. Randomly, only in one PHP version - and always a different one. See also this Zulip...
December 18th, 2025 - Weekly Meetings
Two issues would benefit from testing and code reviews; they've been around for a while and no takers. It would be a shame for these to miss the next releases. View Table Headings...
December 18th, 2025 - Weekly Meetings