Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
modules/system/system.install:1767: update_variables_to_config('system.menu'
Thanks in advance for helping many hands to make light work!
See #2181257: [meta] Variables to config migration [d7] for instructions
Comment | File | Size | Author |
---|---|---|---|
#13 | 2130583-13-variable-to-config-system-menu.patch | 3.23 KB | David Hernández |
Comments
Comment #1
fastangel CreditAttribution: fastangel commentedworking on this.
Comment #2
fastangel CreditAttribution: fastangel commentedI can't find a variable in D6 to map with the unique variable in d8 active_menus_default
Comment #3
chx CreditAttribution: chx commentedPlease include the name of the variable we are upgrading from. It is not in the issue summary as that's just from a
grep update_variables_to_config
and because you are not including it I need to look up the name of the variable that you've already looked up.Ie. the following comment would've been a lot more helpful: I can't find the variable menu_default_active_menus in D6. The D8 variable name is active_menus_default.
Reviewing the functionality, it is indeed D7 only.
Comment #4
eliza411 CreditAttribution: eliza411 commentedMoving to the core queue to consolidate issues now that we're doing all the work there.
Comment #5
eliza411 CreditAttribution: eliza411 commentedComment #6
eliza411 CreditAttribution: eliza411 commentedComment #7
joshtaylor CreditAttribution: joshtaylor commentedComment #8
joshtaylor CreditAttribution: joshtaylor commentedComment #9
David Hernández CreditAttribution: David Hernández commentedComment #10
David Hernández CreditAttribution: David Hernández commentedHi there,
Here is a first version of the patch with the new test.
Regards,
David.
Comment #11
David Hernández CreditAttribution: David Hernández commentedRemoved whitespaces.
Comment #12
benjy CreditAttribution: benjy commentedThese are indented wrong, other than that looks good.
Comment #13
David Hernández CreditAttribution: David Hernández commentedFixed issue reported by benjy
Comment #14
benjy CreditAttribution: benjy commentedCommitted to 8.x, I moved the migration into the install folder when I committed it.
Comment #16
jcost CreditAttribution: jcost commentedWill need to be submitted again to Core since moving from sandbox.
Comment #17
phenaproximaNeeds to be merged into the parent issue.
Comment #18
phenaproximaThe
system.menu.active_menus_default
configuration setting no longer appears to be a thing in Drupal 8.