I currently have another issue in that shows how you can use an alter statement to add your own custom meta controller (#2024603: Pull more then just item id when using references (code snippet)).

This works fine when loading a single item since meta controllers aren't validated in this operation. If you try to query using custom methods, you run into an issue where custom controllers are invalid. This patch is simple and would allow for custom controllers which the developer would have to account for but should have no impact on the base module.

CommentFileSizeAuthor
#1 restws_meta_controls-2053147-1.patch1012 bytesbtopro

Comments

btopro’s picture

Status: Active » Needs review
StatusFileSize
new1012 bytes

Patch / documentation

heddn’s picture

Status: Needs review » Reviewed & tested by the community

Closed #2114309: hook_restws_meta_controls_alter as duplicate. Marking this RTBC.

klausi’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.