Not compatible with config_readonly_whitelist_patterns

Created on 3 July 2023, almost 2 years ago

Problem/Motivation

When using config_readonly_menu_ui, the menu title is always locked when the configuration is readonly even if the menu config is in config_readonly_whitelist_patterns.

Steps to reproduce

Add this to settings.php:

$settings['config_readonly'] = TRUE;
$settings['config_readonly_whitelist_patterns'] = [
  'system.menu.main',
];

Browse to /admin/structure/menu/manage/main: the menu title can't be edited.

Proposed resolution

ContentMenuForm::form() should not add #disabled to fields if the menu config is whitelisted.

🐛 Bug report
Status

Active

Version

1.2

Component

Code

Created by

🇫🇷France prudloff Lille

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

Comments & Activities

Production build 0.71.5 2024