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.
Issue fork language_cookie-3611323
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
Comment #2
svendecabooterComment #4
svendecabooterComment #6
jeroentMerged to 2.0.x. Thanks!