You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a rel=related link header to Node GET responses, pointing to all referenced entiies. The 'title' of the link header should be the name of the entity reference field. This way, we can navigate the repository using link headers, finding derivatives or parent collections, etc...
You have access to the node and can add link headers in hook_node_view_alter like so:
The text was updated successfully, but these errors were encountered:
dannylamb
changed the title
Add rel=describes link header to Nodes
Add rel=describes link header to Node GET responses
Sep 21, 2017
dannylamb
changed the title
Add rel=describes link header to Node GET responses
Add rel=describes link header to Node and Media GET responses
Sep 21, 2017
dannylamb
changed the title
Add rel=describes link header to Node and Media GET responses
Add rel=describes link header to Node GET responses
Sep 21, 2017
dannylamb
changed the title
Add rel=describes link header to Node GET responses
Add rel=related link header to Node GET responses
Jan 2, 2018
dannylamb
changed the title
Add rel=related link header to Node GET responses
Add rel=related link header to Node GET and HEAD responses
Jan 2, 2018
Add a
rel=related
link header to Node GET responses, pointing to all referenced entiies. The 'title' of the link header should be the name of the entity reference field. This way, we can navigate the repository using link headers, finding derivatives or parent collections, etc...You have access to the node and can add link headers in
hook_node_view_alter
like so:The text was updated successfully, but these errors were encountered: