If multiple blocks are created for a single menu, with one block placed in the main content region and the other in an off-canvas region, both instances of the block and menu receive the off_canvas theme suggestion.

Comments

gapple created an issue. See original summary.

gapple’s picture

Status: Active » Needs review
StatusFileSize
new556 bytes

It doesn't look like there is a way to differentiate between instances of the menu, but the block suggestion can be adjusted.

mdooley’s picture

StatusFileSize
new712 bytes

Updating this patch to include isset() to prevent undefined index notices.

samuel.mortenson’s picture

Status: Needs review » Fixed

This makes sense, thanks all!

Status: Fixed » Closed (fixed)

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