1 user.module user_admin_bar_output_alter(&$content)

Implements hook_admin_bar_output_alter().

File

core/modules/user/user.module, line 1636
Enables the user registration and login system.

Code

function user_admin_bar_output_alter(&$content) {
  // Admin menu shows both the parent menu item and its children.
  // Remove the duplicate child element so "Manage fields" doesn't show up
  // twice.
  unset($content['menu']['menu']['admin/config']['admin/config/people']['admin/config/people/manage']['admin/config/people/manage/fields']);
}