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 understand that this is not in the subject, but using a separate field (for <iframe> or file upload, doesn't matter) you get an advantage in displaying content. You can create blocks and...
Best way to embed media with CKEditor
I got confused by this too so I wanted to clarify the last comment here: You need to enable the input filter called: "Convert image captions to figure and figcaption elements" at the...
Image Captions
Hi I added the 2 additional settings in settings.php, did a restart - and the error disappeared! Thanks for the support! (but the issues with the conversion still remain .....
Problem with utf8mb4 Format when importing database