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.
For instructions on how to convert a page callback into a controller, see the WSCCI Conversion Guide.
Meta issue: #1971384: [META] Convert page callbacks to controllers
Comment | File | Size | Author |
---|---|---|---|
#6 | 1978946-convert-page-callback-comment-edit1.patch | 1.64 KB | tim-e |
#2 | 1978946-convert-page-callback-comment-edit.patch | 1.11 KB | tim-e |
Comments
Comment #1
tim-e CreditAttribution: tim-e commentedComment #2
tim-e CreditAttribution: tim-e commentedPatch attached.
Comment #3
larowlanneeds a blank line
Comment #4
larowlanalso comment_edit_page() function can go.
Comment #5
larowlanComment #6
tim-e CreditAttribution: tim-e commentedAgain
Comment #7
larowlanIssues with the title are part of the bigger issue in #1871596: Create a PartialResponse class to encapsulate html-level data [Moving to sandbox]
Wondering if we have tests for that... lets see what bot says first.
Comment #8
larowlanYeah this is freaking awesome, #1913618: Convert EntityFormControllerInterface to extend FormInterface by tim.plunkett, amateescu makes it so simple.
Comment #9
tim.plunkettFixing tags
Comment #10
alexpottCommitted 01b33f5 and pushed to 8.x. Thanks!