Active
Project:
Drupal core
Version:
main
Component:
Olivero theme
Priority:
Minor
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
30 Apr 2021 at 12:43 UTC
Updated:
21 Oct 2025 at 13:15 UTC
Jump to comment: Most recent
Followup from #3182200: Follow proper BEM syntax within secondary navigation menu
In several places within the olivero.theme file, we pass a region name into a template suggestion by using $variables['content']['#attributes']['region'] (see https://git.drupalcode.org/project/drupal/-/blob/9.2.x/core/themes/olive...)
It should be possible to use $variables['region']
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
mherchelNote that I spent a little bit of time on this, but was unsuccessful passing the data. I'd love if anyone else would spend time trying this out.
Comment #8
sahilgidwani commentedComment #9
sahilgidwani commentedComment #11
joachim commentedMaking the region available to block templates should really be done in the block system, so it's not theme-dependent.