theme_submenu

Versions
4.6 – 6
theme_submenu($links)
7
theme_submenu($variables)

Return a themed submenu, typically displayed under the tabs.

Parameters

$variables An associative array containing:

  • links: An array of links.

Related topics

Code

includes/theme.inc, line 1565

<?php
function theme_submenu($variables) {
  $links = $variables['links'];

  return '<div class="submenu">' . implode(' | ', $links) . '</div>';
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.