Skip to content
Snippets Groups Projects
Commit 0d46a483 authored by Muhammad Qandeel Aslam's avatar Muhammad Qandeel Aslam Committed by alberto_sv
Browse files

Issue #3238496 by Qandeel: Code in Suggestion Menu Alter does not work anymore

parent b1db1a3b
No related branches found
No related tags found
2 merge requests!79Resolve #3204900 "Search submit button",!51Issue #3357879: node-preview background beeing overwritten
......@@ -395,6 +395,7 @@ function bootstrap_barrio_preprocess_region(&$variables) {
function bootstrap_barrio_preprocess_block(&$variables) {
if ($variables['base_plugin_id'] == 'system_menu_block' && isset($variables['attributes']['id'])) {
$variables['content']['#attributes']['id'] = $variables['attributes']['id'];
$variables['content']['#attributes']['block'] = $variables['attributes']['id'];
}
// Add a clearfix class to system branding blocks.
if ($variables['plugin_id'] == 'system_branding_block') {
......
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