I have a custom formatter for a field http://drupal.org/project/custom_formatters but this seems to be ignored during node retrieve.

I also tried altering field value during hook_node_view, but no luck.

Do you have any tips on which hook node could I use to change the display of a field before retrieve?

  • currently playing with hook_node_load – giorgio79 Oct 12 '11 at 13:51

Actually I think it's only hook_node_load() that can be use. As I understand Services module send just data and doesn't do any HTML render of the node and the hook_node_view is actually done only for it : change the HTML render.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.