function theme_acquia_lift_navbar_tray_wrapper in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 theme/acquia_lift.navbar.theme.inc \theme_acquia_lift_navbar_tray_wrapper()
Returns HTML for wrapping a navbar tray.
Used in combination with theme_navbar_tab() to create an association between a link tag in the administration bar and a tray.
Parameters
array $variables: An associative array containing:
- element: An associative array containing the properties and children of the tray. Properties used: #children, #navbar_identifier and #attributes.
File
- theme/
acquia_lift.navbar.theme.inc, line 63 - acquia_lift.navbar.theme.inc Provides theme functions for Acquia Lift unified navigation bar.
Code
function theme_acquia_lift_navbar_tray_wrapper(&$variables) {
if (!empty($variables['element']['#children'])) {
$element = $variables['element'];
return '<div' . drupal_attributes($element['#wrapper_attributes']) . '><div class="navbar-lining clearfix">' . $element['#children'] . '</div></div>';
}
}