Skip to content
Snippets Groups Projects

Feature/istwcms 4874 l26yan make people and reports show on dashboard toolbar

1 file
+ 0
5
Compare changes
  • Side-by-side
  • Inline
+ 0
5
@@ -235,11 +235,6 @@ function uw_cfg_common_toolbar_alter(&$items) {
// Get the current user.
$current_user = \Drupal::currentUser();
// No changes for user 1.
if ((int) $current_user->id() === 1) {
return;
}
// Adjust toolbar for non-admin users.
if ($current_user->hasPermission('administer users')) {
// Remove "Manage" toolbar item.
Loading