We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a rel=alternate link header to Node GET responses for each Media that is not a Preservation Master (e.g. derivatives).
You have access to the node and can add link headers in hook_node_view_alter like so:
hook_node_view_alter
function islandora_node_view_alter(&$build, EntityInterface $node, EntityViewDisplay $display) { $build['#attached']['http_header'] = [ ['Link', '<http://islandora.ca>; rel="awesome"'], ]; }
The text was updated successfully, but these errors were encountered:
Closing since #716 takes care of this more generically.
Sorry, something went wrong.
No branches or pull requests
Add a rel=alternate link header to Node GET responses for each Media that is not a Preservation Master (e.g. derivatives).
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: