Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
9 Sep 2026 at 11:52 UTC
Updated:
9 Sep 2026 at 12:33 UTC
Jump to comment: Most recent
The escape hatch for behaviour no structure can express — a subclass in the site's own module — depends on two classes sharing a plugin id and the handwritten one winning. Without that resolution, a site with a subclass gets whichever class the discovery happened to find last.
hook_rest_resource_alter() so that a plugin whose class lives outside the generated directory takes precedence over the generated one with the same id.Everything.
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 #4
sergeydruua commentedComment #6
sergeydruua commented