The modules adds a "settings" key to the $variables array in site_settings.module:
/**
* Implements hook_preprocess().
*/
function site_settings_preprocess(&$variables) {
$site_settings = \Drupal::service('site_settings.loader');
$variables['settings'] = $site_settings->loadAll();
}
I noticed some strange markup on my site and figured out that $variables['settings'] is also used by the popular Display Suite module (https://www.drupal.org/project/ds).
I suggest that this module use $variables['site_settings'] instead.
I will submit a patch as soon as an issue number is assigned.
Comments
Comment #2
esomething commentedComment #3
scott_euser commentedHi esomething,
Thanks for finding the conflict with display suite and the patch. Please use your patch for now, I will try to make a non-breaking upgrade path before releasing.
I am thinking:
Thanks,
Scott
Comment #4
esomething commentedThanks for the quick response, Scott. That sounds like a good plan to me.
Comment #6
scott_euser commentedHi esomething,
This is now fixed on 8.x-1.3 release. Again, thanks for finding the issue!
Scott
Comment #7
scott_euser commented