fix: #3626290 Give the main menu blocks a valid depth

The two main menu blocks set depth: 0, which Drupal 11.4 validates as 1 to 8 (or empty for unlimited). A recipe that imports them into an existing site stops with "settings.depth: This value should be between 1 and 8".

Issue: https://www.drupal.org/project/ui_suite_uikit/issues/3626290

  • depth: null (unlimited) in block.block.ui_suite_uikit_main_menu and block.block.ui_suite_uikit_main_menu_offcanvas.
  • New kernel test BlockConfigTest validates every block of config/optional the way a recipe does. It fails on the old config and passes with the fix (checked locally on Drupal 11.4.8).

AI-Generated: Yes

Checkpoints

  • File an issue
  • Fix
  • Automated unit testing coverage
  • CI pipeline green
  • Release
Edited by Rajab Natshah

Merge request reports

Loading
Loading