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.
Now that #1974210: Convert admin/structure/forum to a Controller is in, we can use the getCancelRoute() method as described in the DeleteForm todo.
Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2202151-forum-deleteform-2.patch | 964 bytes | longwave |
#1 | 2202151-use-getCancelRoute-for-forum.patch | 807 bytes | BarisW |
Comments
Comment #1
BarisW CreditAttribution: BarisW commentedComment #2
longwaveWe can simplify buildForm() a bit further.
Comment #3
larowlanThanks
Comment #4
alexpottCommitted e378459 and pushed to 8.x. Thanks!