Add test for $settings['config_overlay_priorities']

Created on 20 July 2025, 2 days ago

Problem/Motivation

The functionality provided by $settings['config_overlay_priorities'] is currently untested.

Proposed resolution

Add a test that sets $settings['config_overlay_priorities']. In particular, it probably makes sense to test the "nested config split" functionality as described in the README.md:

If you have configuration splits that are shipped by modules that are themselves
split off by another configuration split, Config Split will not detect those
"nested" splits during the initial configuration import. To rectify this, set
the $settings['config_split_priorities'] and
$settings['config_overlay_priorities'] variables such that Config Overlay
always runs in between each level of nesting.

For example:

$settings['config_split_priorities'] = [
  'shipped_in_module_aaa_splits_module_bbb' => 0,
  'shipped_in_module_bbb_splits_module_ccc' => -20,
  'shipped_in_module_ccc_splits_module_ddd' => -40,
];
$settings['config_overlay_priorities'] = [50, -10, -30, -50];
📌 Task
Status

Active

Version

2.0

Component

Tests

Created by

🇩🇪Germany tstoeckler Essen, Germany

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

Comments & Activities

Production build 0.71.5 2024