function theme_comment_thread_expanded($comment, $node) {
$links = module_invoke_all('link', 'comment', $comment, 0);
drupal_alter('link', $links, $node, $comment);
return theme('comment_view', $comment, $node, $links);
}
我不太明白這個功能。我希望這裏有人能幫忙解釋一下。謝謝。theme_comment_thread_expanded函數在drupal註釋模塊中做了什麼?
在這兩個步驟的中間,它也調用任何[hook_link_alter()](http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_link_alter/6)的 – jpstrikesback 2011-02-18 13:19:32