I have to remove some elements from a node before show it, but I can't understand where it's better to put the code.
Mainly I can't understand the differences between
hook_preprocess_node. It seems they do the same thing as they receive a render array as parameter.
I think the best option should be to use the
hook_node_view but it isn't the right way to do this because in this hook only
$node->content is editable.