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, ); ```
Activity
#293: swapping out theme call for render array to make the action lin…
soniktrooth commentedon Sep 28, 2016
Also, just for reference this was needed in DENT-338