You are here

toolbar_disable_user_toolbar.module in Zircon Profile 8

File

core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module
View source
<?php

/**
 * Implements hook_toolbar_alter().
 */
function toolbar_disable_user_toolbar_toolbar_alter(&$items) {
  unset($items['user']);
}