Closed (fixed)
Project:
Drupal core
Version:
10.3.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
30 Mar 2024 at 17:52 UTC
Updated:
5 Apr 2025 at 12:31 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #4
plopescTwig debug and related development toggles from "Development settings" page moved to raw key value storage as part of the MR.
Comment #5
needs-review-queue-bot commentedThe Needs Review Queue Bot tested this issue. It no longer applies to Drupal core. Therefore, this issue status is now "Needs work".
This does not mean that the patch necessarily needs to be re-rolled or the MR rebased. Read the Issue Summary, the issue tags and the latest discussion here to determine what needs to be done.
Consult the Drupal Contributor Guide to find step-by-step guides for working with issues.
Comment #6
plopescConflicts resolved and tests are green again. Back to NR.
Comment #7
smustgrave commentedSo tested this one out by applying the MR locally and still using the new development setting for debugging
From what I can tell everything remained the same.
Refactoring appears fine to me.
Comment #8
berdirThanks for working on this.
The update function should also delete those keys then from state.
Not sure if we should do a change record just in case someone wrote some custom code related to these keys or used drush sset in their workflow.
Comment #9
plopescThank you for your feedback.
Obsolete state keys are removed as part of the post_update hook.
Created change record draft: https://www.drupal.org/node/3438802
Comment #10
smustgrave commentedDeletion from state has been added
Reviewed the CR and it reads well. Always get a huge thank you for adding before/after examples
Comment #14
catchCommitted/pushed to 11.x and cherry-picked to 10.3.x, thanks! I have to resolve a couple of merge conflicts on the 10.3.x cherry-pick. Straightforward enough but let's hope they actually were (had to add an extra commit for one thing already).
Comment #17
moshe weitzman commentedI wish Drupal would make an API for stuff like this. Then callers like
drush twig:debugwould be isolated from implementation changes. Raw key-value is not enough of an API.