As a follow-up to #2377967: Remove bc layer for _content _controller change and related issues, there is some documentation that needs updating:

a)
https://api.drupal.org/api/drupal/core!includes!menu.inc/group/menu/8

In the "Route controllers for simple routes section" it still mentions _content vs. _controller.

Actually, that's all I found. Simple patch: take out the "if _content is used" and "if _controller is used" pieces in that section.

Comments

pushpinderchauhan’s picture

Status: Active » Needs review
StatusFileSize
new1.15 KB

I removed the required piece but I'm sure still some enhancement required.

dawehner’s picture

Status: Needs review » Reviewed & tested by the community

+1

  • jhodgdon committed 8415e43 on 8.0.x
    Issue #2381509 by er.pushpinderrana, dawehner: Fix docs for _content...
jhodgdon’s picture

Status: Reviewed & tested by the community » Fixed

Thanks! That's exactly it. Committed to 8.0.x. (This change is "just" documentation and allowed under beta guidelines.)

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.