burger menu improved

This commit is contained in:
2026-08-24 17:44:15 +02:00
parent b3db746273
commit 9a601b79da
12 changed files with 177 additions and 21 deletions
+7
View File
@@ -112,3 +112,10 @@ function leshed_preprocess_field(&$variables) {
}
$variables['attributes']['class'][] = $variables['field_name'];
}
function leshed_preprocess_links__language_block(&$variables){
foreach ($variables['links'] as $langcode => $link) {
$variables['links'][$langcode]['text'] = $langcode;
$variables['links'][$langcode]['link']['#title'] = $langcode;
}
}