Siteimprove code configured through settings.php not displaying in UI

Created on 6 June 2023, over 1 year ago

When adding the siteimprove code to settings.php file, it will just display an empty field in the configuration UI (/admin/config/system/siteimprove-analytics).

Using the following code to get the settings seems to fix it:

$config = \Drupal::config('siteimprove_analytics.settings');
# Before:
# $config = $this->config('siteimprove_analytics.settings');
πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States torfj Seattle, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024