function acquia_lift_controls_assets_callback in Acquia Lift Connector 7.2
Same name and namespace in other branches
- 7 acquia_lift.ui.inc \acquia_lift_controls_assets_callback()
Sends the Acquia Lift control menus.
1 string reference to 'acquia_lift_controls_assets_callback'
- acquia_lift_menu in ./
acquia_lift.module - Implements hook_menu().
File
- ./
acquia_lift.ui.inc, line 18 - acquia_lift.ui.inc Provides functions needed for the front-end UI.
Code
function acquia_lift_controls_assets_callback() {
// The Acquia Lift module is responsible for assembling menu items into a
// single menu in the navbar.
$menu = menu_tree_all_data('acquia-lift-controls');
$response = array(
'#type' => 'container',
'#attributes' => array(
'class' => array(
'acquia-lift-controls',
),
),
'personalization' => menu_tree_output($menu),
);
return $response;
}