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.
drupal_container() is deprecated, and all calls in the menu & menu_link modules module need to be replaced with Drupal::service(), except for where the module_handler service is requested, which needs to be replaced with Drupal::moduleHandler() (see #1957154: Replace calls to drupal_container()->get('module_handler') service with Drupal::moduleHandler())
Comment | File | Size | Author |
---|---|---|---|
#7 | menu-menu_link-drupal-service-2011104-1.patch | 2.43 KB | thomas.fleming |
#4 | menu_link-drupal-service-2011104-2.patch | 750 bytes | thomas.fleming |
#2 | menu-drupal-service-2011104-1.patch | 1.7 KB | thomas.fleming |
#2 | menu_link-drupal-service-2011104-1.patch | 749 bytes | thomas.fleming |
Comments
Comment #1
thomas.fleming CreditAttribution: thomas.fleming commentedComment #2
thomas.fleming CreditAttribution: thomas.fleming commentedComment #4
thomas.fleming CreditAttribution: thomas.fleming commentedComment #5
thomas.fleming CreditAttribution: thomas.fleming commentedComment #6
thomas.fleming CreditAttribution: thomas.fleming commented#2: menu-drupal-service-2011104-1.patch queued for re-testing.
Comment #7
thomas.fleming CreditAttribution: thomas.fleming commentedAttached is the combined patch for the menu and menu_link modules.
Comment #8
thomas.fleming CreditAttribution: thomas.fleming commentedComment #9
ddrozdik CreditAttribution: ddrozdik commentedApplied and checked, looks good - RTBC
Comment #10
webchickCommitted and pushed to 8.x. Thanks!
Comment #11
ddrozdik CreditAttribution: ddrozdik commented