Commit b5581f2f authored by Adrian Cid Almaguer's avatar Adrian Cid Almaguer Committed by Adrian Cid Almaguer
Browse files

Issue #3300290 by hmendes, redseujac, adriancid, elber: Logout link missing

parent 8bc92884
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -218,6 +218,12 @@ class ExtraLinks extends DeriverBase implements ContainerDeriverInterface {
      'route_name' => 'entity.user_role.collection',
      'parent' => 'entity.user.collection',
    ] + $base_plugin_definition;
    $links['user.logout'] = [
        'title' => $this->t('Logout'),
        'route_name' => 'user.logout',
        'parent' => 'admin_toolbar_tools.help',
        'weight' => 10,
      ] + $base_plugin_definition;
    $links['user.role_add'] = [
      'title' => $this->t('Add role'),
      'route_name' => 'user.role_add',