Change node title and node field content I try to change the values of the title and a field of a node.

function module_node_view($node, $view_mode, $langcode) {
  $node-&gt;title = 'TEST';
  $node-&gt;field_description[$node-&gt;language][0]['value'] = 'CONTENT';
}


When I try this, nothing is changed...
I think the $node will be a object and not array. You are trying to access it like an array, hence you get php error.

function module_node_view($node, $view_mode, $langcode) {
  $node-&gt;title = 'TEST';
  $node-&gt;field_description[$node-&gt;language][0]['value'] = 'CONTENT';
}