function bartik_preprocess_menu in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/themes/bartik/bartik.theme \bartik_preprocess_menu()
Implements hook_preprocess_HOOK() for menu.html.twig.
File
- core/
themes/ bartik/ bartik.theme, line 100 - Functions to support theming in the Bartik theme.
Code
function bartik_preprocess_menu(&$variables) {
$variables['attributes']['class'][] = 'clearfix';
}