The documentation for the return value of NodeController::addPage() has not been updated when we changed the way redirects work. It still thinks we are using drupal_goto() and doesn't return a value on redirect, when it in fact returns a RedirectResponse.
It also still refers to node_menu() which has long been replaced with the routing system.
Beta phase evaluation
| Issue category | Bug: documentation is incorrect. |
|---|---|
| Unfrozen changes | Unfrozen because it only changes documentation |
| Disruption | None |
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 2554881-2.patch | 1.02 KB | pfrenssen |
Comments
Comment #2
pfrenssenComment #3
jhodgdonLooks good, thanks for the issue and patch!
Normally we would want this to be a fully-namespaced class name, but since it's just a few lines above I think we can omit the namespace.
Comment #4
webchickCommitted and pushed to 8.0.x. Thanks!