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
This post explains how to do this in Drupal 7. In Backdrop, File Entity is already part of core. You will need to download and install module Views Field View. https://drupal.stackexchange...
I Need to Display an Image in a View that was Uploaded to a Webform
After alot of trials, i have done the obvious and translated the whole block for different languages with each property condition as follows: ->propertyCondition('langcode', 'en...
How to get the current page language?
Thanks so much! It's working now: I was able to transfer the docroot files to the containing directory without the need for a second database or any manual configuration export/import/sync...
Backup & Migrate Config: There was a problem creating field...database table with the name already exists.