Commit 5f4dd61f authored by Dries's avatar Dries
Browse files

- Patch #721556 by JohnAlbin: bye bye theme_submenu() -- it has never, ever been used.

parent 6d480f58
......@@ -5018,9 +5018,6 @@ function drupal_common_theme() {
'help' => array(
'variables' => array(),
),
'submenu' => array(
'variables' => array('links' => NULL),
),
'table' => array(
'variables' => array('header' => NULL, 'rows' => NULL, 'attributes' => array(), 'caption' => NULL, 'colgroups' => array(), 'sticky' => TRUE, 'empty' => ''),
),
......
......@@ -1591,19 +1591,6 @@ function theme_breadcrumb($variables) {
}
}
/**
* Return a themed submenu, typically displayed under the tabs.
*
* @param $variables
* An associative array containing:
* - links: An array of links.
*/
function theme_submenu($variables) {
$links = $variables['links'];
return '<div class="submenu">' . implode(' | ', $links) . '</div>';
}
/**
* Return a themed table.
*
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment