Drupal 7 has most global site and page elements hardwired into templates, and gives no control to users to move them around. The primary and secondary link placements are hardwired to core and contrib themes alike. We should stop special-casing these, so they can be moved around and selectively hidden or replaced as needed.
Either outright remove these special variables from core or introduce them as specific blocks that can be moved around. A possible reason for the later is all the custom styling and markup that themes are used to provide to major menus on the page. In short:
- Remove special case items from themes.
- (Optionally) introduce them as specific blocks that can be moved around.
- Introduce regions as needed to place these elements.
The code should depend on blocks as plugins (), however, we should not mark this postponed so we can do work on this in parallel and be ready for commits once that lands.
|PASSED: [[SimpleTest]]: [PHP 5.4 MySQL] 65,277 pass(es).|
|FAILED: [[SimpleTest]]: [MySQL] 59,201 pass(es), 9 fail(s), and 3 exception(s).|
|FAILED: [[SimpleTest]]: [MySQL] Unable to apply patch menu-blocks-1869476.112.patch. Unable to apply patch. See the log in the details link for more information.|
|FAILED: [[SimpleTest]]: [MySQL] 56,598 pass(es), 74 fail(s), and 8,647 exception(s).|