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.
Part of #1971384: [META] Convert page callbacks to controllers
For instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
Comment | File | Size | Author |
---|---|---|---|
#18 | shortcut-1978970-18.patch | 7.61 KB | tim.plunkett |
#18 | interdiff.txt | 621 bytes | tim.plunkett |
#12 | shortcut-1978970-12.patch | 7.61 KB | tim.plunkett |
#12 | interdiff.txt | 2.57 KB | tim.plunkett |
#10 | shortcut-1978970-10.patch | 7.05 KB | tim.plunkett |
Comments
Comment #1
tim.plunkettMight be interesting.
Comment #2
tim.plunkettComment #4
tim.plunkett#2: shortcut-1978970-2.patch queued for re-testing.
Comment #5
tim.plunkett#2: shortcut-1978970-2.patch queued for re-testing.
Comment #6
tim.plunkett#2: shortcut-1978970-2.patch queued for re-testing.
Comment #8
tim.plunkettReroll
Comment #9
Crell CreditAttribution: Crell commentedThis function has been expunged. Return an appropriate redirect object instead.
Comment #10
tim.plunkettHad to reroll anyway, the drupal_goto was swapped out for
return new RedirectResponse(url('<front>', array('absolute' => TRUE)));
Comment #11
Crell CreditAttribution: Crell commentedurl()? No generator? Generator please. :-)
Comment #12
tim.plunkettYeah yeah :)
Comment #13
tim.plunkettTaggin.
Comment #15
tim.plunkett#12: shortcut-1978970-12.patch queued for re-testing.
Comment #16
Crell CreditAttribution: Crell commentedThank you. :-)
Comment #17
dawehner_controller is probably enough, as we just redirect.
Comment #18
tim.plunkettMade that change
Comment #19
Crell CreditAttribution: Crell commentedBot can disagree if it wants.
Comment #20
dawehnerback to RTBC
Comment #21
alexpottCommitted 4852362 and pushed to 8.x. Thanks!