In D7, menu_block provided theme hook suggestions that were based on the page region so that themers could alter the HTML based on page position.

In D8, blocks don't have access to the region or any page-positioning context. They are meant to be rendered and cached with only their config and placed independently.

Since we can't do page-position-based theme suggestions in D8, so we should provide a direct way for site builders to specify a custom theme hook suggestion.

Comments

JohnAlbin created an issue. See original summary.

  • JohnAlbin committed 4167757 on 8.x-1.x
    Issue #2794835 by JohnAlbin: Add option to configure custom theme hook...
JohnAlbin’s picture

Assigned: JohnAlbin » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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