Closed (fixed)
Project:
Admin Toolbar
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
1 Jan 2022 at 16:55 UTC
Updated:
16 Apr 2025 at 21:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
lisa.rae commentedComment #3
lisa.rae commentedComment #6
ressaThanks @lhridley, I just ran into this blocker, trying to install Admin Toolbar in Drupal 10 with the freshly released Drush 11 running PHP 8.1. It feels very futuristic :)
I have re-rolled your excellent patch in Gitlab, in order to allow cloning directly from that repo, for testing, I hope it's all right. It seems to work fine, and after cloning and checking out the right branch from the Merge Request page, I can install all the modules just fine in Drupal 10.
It would be great to get this committed to dev, and make it available for Drupal 10.
Comment #7
ressaThe Extra Tools Drupal logo was missing (upper left corner) so I added Drupal 10 to the style for Drupal 9, for now. It should probably be added to a To Do list, to update if and when Drupal 10 gets its own logo.
Comment #9
romainj commentedComment #11
jcnventuraAs per https://www.drupal.org/node/3158256, the core/once library was added in Drupal 9.2. This means this module is no longer compatible with Drupal 8.8, and as such the information in admin_toolbar.info.yml needs to be updated.
Please reopen this, and correct the information in these info.yml files.
At this moment, the drupal/core requirement in composer.json is not needed (it is filled by the core_version_requirement information from the info file), so it would be better to remove that from composer.json to make sure they do not drift apart.
Comment #14
jcnventuraPlease reopen this, only maintainers can do so.
The best way to fix this would be:
* Create 4.x branch from current state, and add minimum requirement of Drupal core 9.2, as core/once was added in that version.
* In the 3.x branch, revert this change so that any future security issue for the 3.x branch is still compatible with Drupal < 9.2.
Also, remove the duplicate drupal/core requirement in composer.json, since that is automatically added by the drupal.org packagist from the information in the .info.yml file, and it is a lot easier to maintain if this information is in only one place.
Comment #15
merilainen commentedWhat about deprecated code? There are at least two problems which upgrade status reports:
in SearchLinks.php and ExtraLinks.php
Comment #16
jheinon_finland commentedAs mErilainen stated above, there really was some deprecated code in the aforementioned classes
SearchLinks.phpandExtraLinks.php.In this, the change for adding the missing accessCheck is included as well as the
interdifffile between the original patch and the newer patch.Comment #17
hkirsman commentedD10 support has been added already to 3.x dev version. The last commit seems to be done in https://www.drupal.org/project/admin_toolbar/issues/3338408
This particular issue seems done.