Rework field_encrypt_module_implements_alter() for new OOP hooks

Created on 9 November 2024, 6 months ago

Problem/Motivation

Drupal 11.1 introduces support for OOP hooks.

After converting some of my custom module hooks, I'm getting a "container not initialized" error due to field_encrypt_module_implements_alter().

I'll debug this further as I'm not sure what needs to be done to fix this yet.

📌 Task
Status

Active

Version

3.2

Component

Code

Created by

🇯🇵Japan ptmkenny

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

Comments & Activities

  • Issue created by @ptmkenny
  • 🇯🇵Japan ptmkenny

    On closer inspection, this seems to be a false alarm.

    If you get a "container not installed" error, make sure your OOP hooks are correctly defined. I had incorrectly defined a hook not related to the field_encrypt module and was getting this exception that traced back to the field_encrypt module, but upon fixing my unrelated code, this exception was also resolved.

Production build 0.71.5 2024