Add missing config hinting

Created on 14 September 2021, almost 3 years ago
Updated 31 May 2024, 17 days ago

Problem/Motivation

Because the render array of the settings form does not contain a '#content' value (which is used to hint to which config item the field belongs), some other modules do not work correctly. For example; the module 'Config override inspector' does not show its warning above the field when the value was overridden because it does not know which config value is affected by the field.

Steps to reproduce

Install the modules (this one and 'Config override inspector') and add an override to your settings.php, for example;

$config['stage_file_proxy.settings']['origin'] = 'foo';

Go to /admin/config/system/stage_file_proxy and note that the field is not considered overridden by the 'Config override inspector' module.

Proposed resolution

Add a '#config' to each field for config hinting.

πŸ“Œ Task
Status

Postponed

Version

3.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Rik Wijnen

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024