Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2026 at 13:04 UTC
Updated:
2 Sep 2026 at 13:52 UTC
Jump to comment: Most recent
A structure — the map from an entity's fields to the keys of a response — has to live somewhere that a human can review, a deployment can carry and an administration form can write. Configuration entities are the mechanism the core provides for exactly that, and they give export, import, diffing in review and translation for free.
myrest_structure configuration entity: id, entity type, bundle, and an ordered list of properties, each with a source, a shape and the shape's settings.hook_myrest_structure_alter() — the sanctioned way for a site to change a structure from its own code — invoked after the structure is loaded and before it is built.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