I have a content type, with an extra field (customerNo, which is an int).
I'm trying to replace this customerNo with another text in my module. but I can't seem to get the ...biip.. working.
Currently I have tried using hook_field_prepare_view, which doesn't seem to get called anywhere in the page creation (I have flushed the cache several times).
my mymodule.module includes the following chunk of code :
function mymodule_field_prepare_view($entity_type, $entities, $field, $instances, $langcode, &$items) {
dpm('prepare_view called');
}