function theme_vertical_tabs

Returns HTML for an element's children details as vertical tabs.

Parameters

$variables: An associative array containing:

  • element: An associative array containing the properties and children of the details element. Properties used: #children.

Related topics

File

drupal/core/includes/form.inc, line 4072
Functions for form and batch generation and processing.

Code

function theme_vertical_tabs($variables) {
  $element = $variables['element'];
  return '<div class="vertical-tabs-panes">' . $element['#children'] . '</div>';
}