Skip to content
Snippets Groups Projects
Commit b2555422 authored by Alberto Siles's avatar Alberto Siles
Browse files

Typo on region theme suggestion.

parent aeaca71e
No related branches found
No related tags found
No related merge requests found
......@@ -348,12 +348,12 @@ function bootstrap_barrio_theme_suggestions_region_alter(array &$suggestions, ar
$nowrap = [
'breadcrumb',
'content',
'primary-menu',
'primary_menu',
'header',
'sidebar-first',
'sidebar-second',
]
if ( in_array($variables['region'], $nowrap) ) {
'sidebar_first',
'sidebar_second',
];
if ( in_array($variables['elements']['#region'], $nowrap) ) {
$suggestions[] = 'region__nowrap';
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment