Same name and namespace in other branches
  1. 4.6.x includes/theme.inc \theme_submenu()
  2. 5.x includes/theme.inc \theme_submenu()
  3. 6.x includes/theme.inc \theme_submenu()

Return a themed submenu, typically displayed under the tabs.

Parameters

$links: An array of links.

Related topics

File

includes/theme.inc, line 652
The theme system, which controls the output of Drupal.

Code

function theme_submenu($links) {
  return '<div class="submenu">' . implode(' | ', $links) . '</div>';
}