All hook invocation should be delegated to Module Handler service

Created on 20 December 2022, over 1 year ago
Updated 26 January 2023, over 1 year ago

Problem/Motivation

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()

Steps to reproduce

* 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

Proposed resolution

Refactor according the the change record in https://www.drupal.org/node/3000490 β†’ .

Remaining tasks

  • Review MR
  • Merge MR

User interface changes

N/a

API changes

N/A

Data model changes

N/A

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡³πŸ‡±Netherlands ricovandevin

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.

Production build 0.69.0 2024