1 theme.inc | theme_dropbutton_wrapper($variables) |
Provide wrapper HTML around dropbutton lists.
Parameters
$variables: An associative array containing:
- children: Contains the rendered children of the dropbutton menu.
Related topics
File
- core/
includes/ theme.inc, line 1976 - The theme system, which controls the output of Backdrop.
Code
function theme_dropbutton_wrapper($variables) {
$output = '';
$output .= '<div class="dropbutton-wrapper">';
$output .= '<div class="dropbutton-widget">';
$output .= $variables['children'];
$output .= '</div>';
$output .= '</div>';
return $output;
}