Closed (fixed)
Project:
MyREST
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
3 Sep 2026 at 07:50 UTC
Updated:
3 Sep 2026 at 08:36 UTC
Jump to comment: Most recent
Part of what the module returns cannot be derived from the content model: which field is the view counter, which node holds the page variables, what the breadcrumb trail of an article is, which bundle holds reviews. These are named roles the site fills in, and hardcoding them is what makes the current module unusable on any site but the one it was written for.
myrest_conventions configuration entity per entity type and bundle, holding the roles a response needs a site to name: dynamic_data, view_counter, like_counter, special_pages, breadcrumbs, static_data, facets, reviews_rating, reading_time, metatags.hook_requirements says nothing about it.Everything. The mechanism that suggests values for these roles is filed separately; this issue is the storage and the contract.
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