toolbar_disable_user_toolbar.module
Same filename in other branches
- 9 core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module
- 8.9.x core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module
- 10 core/modules/toolbar/tests/modules/toolbar_disable_user_toolbar/toolbar_disable_user_toolbar.module
File
-
core/
modules/ toolbar/ tests/ modules/ toolbar_disable_user_toolbar/ toolbar_disable_user_toolbar.module
View source
<?php
/**
* @file
* Test module.
*/
declare (strict_types=1);
/**
* Implements hook_toolbar_alter().
*/
function toolbar_disable_user_toolbar_toolbar_alter(&$items) {
unset($items['user']);
}
Functions
Title | Deprecated | Summary |
---|---|---|
toolbar_disable_user_toolbar_toolbar_alter | Implements hook_toolbar_alter(). |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.