Allow zefix.settings to be overwritten by settings.php

Created on 18 October 2024, about 1 month ago

Problem/Motivation

Currently no config values in the zefix.settings can be overwritten using a settings.php.

Steps to reproduce

Try to overwrite any 'zefix.settings' in your settings.local.php

$config['zefix.settings']['environment'] = 'production';
$config['zefix.settings']['user'] = 'testuser';
$config['zefix.settings']['password'] = 'testpass';

Proposed resolution

Use \Drupal::configFactory()->get('zefix.settings'); instead of \Drupal::configFactory()->getEditable('zefix.settings');

Remaining tasks

* Review MR

User interface changes

None

API changes

None

Data model changes

None

Feature request
Status

Active

Version

1.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024