function admin_menu_admin_menu_output_alter

nittany7 admin_menu.module admin_menu_admin_menu_output_alter(&$content)
cis7 admin_menu.module admin_menu_admin_menu_output_alter(&$content)
mooc7 admin_menu.module admin_menu_admin_menu_output_alter(&$content)

Implements hook_admin_menu_output_alter().

File

modules/contrib/admin_menu/admin_menu.module, line 611
Render an administrative menu as a dropdown menu at the top of the window.

Code

function admin_menu_admin_menu_output_alter(&$content) {
  foreach ($content['menu'] as $key => $link) {
    // Move local tasks on 'admin' into icon menu.
    if ($key == 'admin/tasks' || $key == 'admin/index') {
      $content['icon']['icon'][$key] = $link;
      unset($content['menu'][$key]);
    }
  }
}