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.
#1987602: Convert ajax_form_callback() to a new style controller accidentally introduced a "route name" in hook menu, which should be "route_name".
However, as stated in #3, the item isn't even necessary at all, so we will remove it.
Comment | File | Size | Author |
---|---|---|---|
#4 | 2078885_remove_file_progress_hook_menu_item_4.patch | 491 bytes | Letharion |
#1 | 2078885-use_underscore_in_route_name_1.patch | 461 bytes | Letharion |
Comments
Comment #1
Letharion CreditAttribution: Letharion commentedComment #2
dawehnerIs there any way how we can test that?
Comment #3
dawehnerThe code on the controller does not deal with the theme system at all, as it just returns as json response
so we don't need the entry at all.
Comment #4
Letharion CreditAttribution: Letharion commentedComment #5
Letharion CreditAttribution: Letharion commentedIssue summary updated. Patch up for review.
Comment #6
dawehnerThat is perfect!
Comment #7
webchickTook me a minute, but basically because this is a MENU_CALLBACK, we don't need a menu item here. The route's already defined in file.routing.yml.
Committed and pushed to 8.x. Thanks!
Comment #8.0
(not verified) CreditAttribution: commentedUpdated summary up until #3.