Commit 1ed9d794 authored by Dries's avatar Dries

- Patch #1532682 by TravisCarden: fixed documentation of comment_reply() return value.

parent 28011ee9
......@@ -26,8 +26,12 @@
* (optional) Some comments are replies to other comments. In those cases,
* $pid is the parent comment's comment ID. Defaults to NULL.
*
* @return
* The rendered parent node or comment plus the new comment form.
* @return array
* An associative array containing:
* - An array for rendering the node or parent comment.
* - comment_node: If the comment is a reply to the node.
* - comment_parent: If the comment is a reply to another comment.
* - comment_form: The comment form as a renderable array.
*/
function comment_reply(Node $node, $pid = NULL) {
// Set the breadcrumb trail.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment