Clash with admin_toolbar_tools

Created on 8 March 2018, over 6 years ago
Updated 19 October 2023, about 1 year ago

I am running into an issue where when I have login_destination and admin_toolbar_tools enabled that I lose the dropdown styling and functionality. Is anyone else running into the same? I will be doing some debugging and will hopefully come up with more information later today.

πŸ› Bug report
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Christopher Riley

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • The patch in #22 did not work for us on drupal 10.1.x with php 8.1.
    Therefore, we created a patch that removes the lines creating the login button in admin_toolbar.

    We are not really happy with our solution, maybe there is a way to fix the hash creating mechanism in admin_toolbar πŸ€·β€β™‚οΈ

    --- a/admin_toolbar/admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php	2023-10-19 12:00:12
    +++ b/admin_toolbar/admin_toolbar_tools/src/Plugin/Derivative/ExtraLinks.php	2023-10-19 12:01:03
    @@ -242,12 +242,6 @@
           'title' => $this->t('Roles'),
           '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'),
    
Production build 0.71.5 2024