This is my backend style

enter image description here

What is the correct way/Hook to add the username beside logout word?

  • did you enable Admin Toolbar Extra Tools ? On mine I already see the user name there.
    – No Sssweat
    Jun 7, 2018 at 11:37
  • I got an error when enabling it, Is there any way for doing this through Hooks? Jun 7, 2018 at 11:53
  • you can define a custom menu link plugin, see this answer drupal.stackexchange.com/a/227006/47547
    – 4uk4
    Jun 7, 2018 at 14:03


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.