burger menu improved
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user