You are here

function answers_link_alter in Answers 5.2

File

./answers.module, line 497
Enables the creation of question nodes that can be answered by posting answer nodes.

Code

function answers_link_alter(&$node, &$links) {
  if ($node->type == 'answers' || $node->type == 'simpleresp') {
    unset($links['node_read_more']);
  }
}