I am using the code below to add a form to my node. This renders a page with the node and form on it. Apparently, the node is rendered with its title as a link. I would like to have the node’s title without a link. So I tried to change $node->content
, but there seems to be no value that determines that the node title is a link. how do I change this with code?
$form = array();
$node = node_load(24)
$form['offer_form'] = array(
'#value' => drupal_get_form('dt_offer_entry_form', $node),
'#weight' => 10
);
$node->content = $form;
return node_view($node);