0

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?

1
  • currently playing with hook_node_load
    – giorgio79
    Commented Oct 12, 2011 at 13:51

1 Answer 1

1

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 and acknowledge you have read our privacy policy.

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