1 menu.inc theme_menu_local_actions($variables)

Returns rendered HTML for the local actions.

Parameters

$variables: An associative array containing:

  • actions: An array of action links.

See also

theme_menu_local_action()

Related topics

File

core/includes/menu.inc, line 1860
API for the Backdrop menu system.

Code

function theme_menu_local_actions($variables) {
  $output = backdrop_render($variables['actions']);
  if ($output) {
    $output = '<ul class="action-links">' . $output . '</ul>';
  }
  return $output;
}