Open soniktrooth opened 7 years ago
menu_local_actions is being rendered with a theme function. A render array makes it adjustable by subthemes.
Out with :
$variables['tabs']['#primary'][]['#markup'] = theme('menu_local_actions', array('menu_actions' => $variables['action_links'], 'attributes' => $dropdown_attributes));
In with :
$variables['tabs']['#primary'][] = array( '#theme' => 'menu_local_actions', '#menu_actions' => $variables['action_links'], '#attributes' => $dropdown_attributes, );
Also, just for reference this was needed in DENT-338
menu_local_actions is being rendered with a theme function. A render array makes it adjustable by subthemes.
Out with :
In with :