Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using 8.x-1.21 on Drupal 8.4.0, I enabled only the admin_toolbar_links_access_filter module, but nothing happened. However, if I also enable admin_toolbar then it works as expected.
admin_toolbar_links_access_filter has no dependency on admin_toolbar in it's .info.yml and looking at the code, it really shouldn't need admin_toolbar. It'd be nice to be able to use it without the dropdowns, but if it is really necessary to have admin_toolbar enabled, it'd be good to put an explicit dependency in the .info.yml file.
Comment | File | Size | Author |
---|---|---|---|
#6 | admin_toolbar-add_dependency-2929061-6-d8.patch | 844 bytes | romainj |
#2 | admin_toolbar-add_dependency-2929061-2-d8.patch | 830 bytes | romainj |
Comments
Comment #2
romainj CreditAttribution: romainj as a volunteer commentedThis module should have a dependency to the Admin Toolbar module.
Comment #3
adriancidHi @dsnopek thanks for reporting, can you use the next time the Issue Summary Template?
When we made the inclusion of Administration links access filter in Admin Toolbar #2917704: Add Administration links access filter module as Admin Toolbar submodule the dependency was not added because in the Administration links access filter says:
And I'm really don't made the test to check if this was true :-( But fortunately now this will be solved :-)
@Romainj, now we need to add the dependency as:
Check #2927905: All dependencies must be prefixed with the project name
Comment #5
adriancidComment #6
romainj CreditAttribution: romainj as a volunteer commented@adriancid I always forget about this :)
Comment #7
adriancid@romainj, no problem, I just noticed this a few days ago, when I updated the phpcs rulesets and run it against the project :-)
Salut! ;-)
Comment #8
dsnopekWoohoo! Thanks for the quick resolution :-)
For sure!
Comment #9
adriancid:-D
Comment #11
romainj CreditAttribution: romainj as a volunteer commentedCommitted in latest dev version. Thanks.
Comment #12
adriancid@romainj we made the commit twice :-D