Problem/Motivation

Drupal 11 now supports OOP hooks, as well as D10 LegacyHook support.
In #3611322: Class "language_cookie_language_types_info_alter" does not exist I encountered an issue that can be resolved by using OOP hooks.

Proposed resolution

Add support for D11 OOP hooks.

Command icon Show commands

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

svendecabooter created an issue. See original summary.

svendecabooter’s picture

Title: Use OOP hooks » Add OOP hooks support

svendecabooter’s picture

Status: Active » Needs review

jeroent’s picture

Status: Needs review » Fixed

Merged to 2.0.x. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.