Closed (fixed)
Project:
User Restrictions
Version:
2.1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2025 at 09:46 UTC
Updated:
9 Nov 2025 at 14:44 UTC
Jump to comment: Most recent
Since the 2.1.x branch requires at least Drupal 10.3, the hook implementations can be converted to methods.
Convert the hook functions to methods following what described in Support for object oriented hook implementations using autowired services / Backwards-compatible Hook implementation for Drupal versions from 10.1 to 11.0.
The hook classes already exists in the 3.0.x branch; they just need to be copied.
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
avpadernoComment #4
avpadernoComment #5
avpadernoThe phpstan job keeps failing because a 500 error.
Comment #7
avpaderno