Closed (fixed)
Project:
User Restrictions
Version:
3.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Oct 2025 at 12:36 UTC
Updated:
26 Oct 2025 at 18:59 UTC
Jump to comment: Most recent
In Drupal, the namespace for entity classes is different from the namespace for the interface they implement. For example:
Drupal\node\Entity\Node implements Drupal\node\NodeInterfaceDrupal\user\Entity\User implements Drupal\user\UserInterfaceRename the Drupal\user_restrictions\Entity\UserRestrictionInterface interface Drupal\user_restrictions\UserRestrictionInterface.
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
tanushree gupta commentedWorking on it!!
Comment #4
tanushree gupta commentedComment #5
avpadernoClassloader with support for moving/deprecating classes explains what to do when a class/interface/trait file is moved.
Comment #6
avpadernoI need to verify it works also for interfaces.
Comment #7
avpadernoComment #9
avpadernoComment #11
avpaderno