function seven_preprocess_menu_local_task
Same name in other branches
- 8.9.x core/themes/seven/seven.theme \seven_preprocess_menu_local_task()
Implements hook_preprocess_HOOK() for menu-local-task templates.
File
-
core/
themes/ seven/ seven.theme, line 56
Code
function seven_preprocess_menu_local_task(&$variables) {
$variables['attributes']['class'][] = 'tabs__tab';
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.