Returns HTML that wraps the administration toolbar.
array $variables: An associative array containing:
function theme_toolbar(&$variables) {
if (!empty($variables['element']['#children'])) {
$element = $variables['element'];
$trays = '';
foreach (element_children($element) as $key) {
$trays .= drupal_render($element[$key]['tray']);
}
return '<nav' . new Attribute($element['#attributes']) . '>' . '<div' . new Attribute($element['#bar']['#attributes']) . '>' . '<h2 class="element-invisible">' . $element['#bar']['#heading'] . '</h2>' . $element['#children'] . '</div>' . $trays . '</nav>';
}
}