May 31, 2017
In episode #148 we talk Drupal system settings and how you can use them.
- What are system settings?
- Use cases
- Using systems settings in Drupal 7 and Drupal 8
Module of the Week:
A module for multi-language web sites, allowing users to access content in languages other than the current one by using path aliases.
Aaron Manire replied on Permalink
Hey guys, great show!
Also, it's definitely worth noting some potentially unexpected behaviors in overrides in settings.php in Drupal 8. When using `drush config-get` by itself, you will retrieve the database stored value. To obtain the value actually being used on the specific site environment, that is overridden in settings.php, it's necessary to use the --include-overridden flag, for example:
drush config-get system.performance --include-overridden
For more information, see https://www.drupal.org/docs/8/api/configuration-api/configuration-overri...
Likewise, as of Drupal 8.3, the admin forms will display the database stored value, regardless of the overridden value in settings.php. There is an issue and patch to display the overrides as an alert that will hopefully be released in Drupal 8.4.
Stephen Cross replied on Permalink
Aaron - thanks for the input, great tip.
Add new comment