function theme_dropbutton_wrapper

Returns HTML for wrapping a dropbutton menu.

Parameters

array $variables: An associative array containing:

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

Related topics

File

drupal/core/includes/theme.inc, line 1792
The theme system, which controls the output of Drupal.

Code

function theme_dropbutton_wrapper($variables) {
  if (!empty($variables['element']['#children'])) {
    return '<div class="dropbutton-wrapper"><div class="dropbutton-widget">' . $variables['element']['#children'] . '</div></div>';
  }
}