You are here

function seven_preprocess_menu_local_task in Drupal 8

Same name and namespace in other branches
  1. 9 core/themes/seven/seven.theme \seven_preprocess_menu_local_task()
  2. 10 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
Functions to support theming in the Seven theme.

Code

function seven_preprocess_menu_local_task(&$variables) {
  $variables['attributes']['class'][] = 'tabs__tab';
}