You are here

function admin_menu_admin_menu_replacements in Administration menu 5.3

Same name and namespace in other branches
  1. 8.3 admin_menu.module \admin_menu_admin_menu_replacements()
  2. 6.3 admin_menu.module \admin_menu_admin_menu_replacements()
  3. 7.3 admin_menu.module \admin_menu_admin_menu_replacements()

Implementation of hook_admin_menu_replacements().

File

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

Code

function admin_menu_admin_menu_replacements() {
  $items = array();
  if ($user_count = admin_menu_get_user_count()) {
    $items['.admin-menu-users a'] = $user_count;
  }
  return $items;
}