Closed (fixed)
Project:
Guardian
Version:
2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Dec 2022 at 10:49 UTC
Updated:
9 Feb 2023 at 14:44 UTC
Jump to comment: Most recent
See https://www.drupal.org/node/3000490. This change leads to an error when using Guardian in Drupal 10:
Error: Call to undefined method Drupal\Core\Extension\ModuleHandler::getImplementations() in Drupal\guardian\GuardianManager->getGuardedUsers()
* Make a fresh Drupal 10 install
* Add the Guardian module
* Enable the Guardian module
* If you have enabled Guardian using Drush the error should already be visible in the CLI
Refactor according the the change record in https://www.drupal.org/node/3000490.
N/a
N/A
N/A
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
ricovandevin commentedThis change might not be fully in accordance with https://www.drupal.org/node/3000490. But at least it makes the code work with Drupal 10.
Comment #5
idebr commentedComment #7
idebr commentedAdded test coverage and committed, thanks!
This issue will be released in 2.1.0 shortly.