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.
When translate menu item - copy default values from original menu item to newly created
Comment | File | Size | Author |
---|---|---|---|
#3 | menu_attributes-2295073-3.patch | 831 bytes | yingtho |
#1 | menu_attributes-2295703-1.patch | 760 bytes | stubben |
Comments
Comment #1
stubben CreditAttribution: stubben commentedComment #2
yingtho CreditAttribution: yingtho commentedComment #3
yingtho CreditAttribution: yingtho commentedFix warning when attributes when menu has no attributes.
Comment #4
joelpittetCan you explain what this patch is doing? Sorry but I don't follow the goal of this patch.
Comment #5
MediaFormat CreditAttribution: MediaFormat commentedIt seems to copy the attributes, if any, when a menu item is translated to another language.
Comment #6
joelpittetThanks @MediaFormat I see what you mean.
Can we avoid checking the _GET argument?
Maybe this should be done on form submission for creating a new translation?