Use #config_target in the settings form for an indication of overridden configuration

Created on 14 September 2021, about 3 years ago
Updated 4 August 2024, 3 months ago

Problem/Motivation

Drupal Core can display an indication for Config overrides if the configuration form uses the #config_target property available from Drupal 10.2, see [#3373502] and πŸ› Display status message on configuration forms when there are overridden values Fixed

Steps to reproduce

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.

Proposed resolution

Add a '#config_target' to each field for an indication of overridden configuration.

πŸ“Œ Task
Status

Fixed

Version

3.1

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands Rik Wijnen

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

Merge Requests

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.71.5 2024