- π¦πΉAustria mvonfrie
It seems that my comment #2996410-14: Review Drupal\Core\Menu\StaticMenuLinkOverrides::saveOverrides for performance improvements β belongs more to this issue which I just found after posting there. Repeating and crosslinking the issues.
When changing an override on the test system and exporting config I observe constant changes in the order of keys per overridden menu item. Especially
weight
andenabled
always change their position between local dev and test environment.Could this be related to the line
$all_overrides[$id] = $definition + $this->loadOverride($id);
as well?
Furthermore, in my opinion the config should only include what actually can be overridden, aka filter
$expected with Drupal\Core\Menu\MenuLinkBase::$overrideAllowed
(if applicable).