Skip to content

Commit

Permalink
Issue #1532682 by TravisCarden: Fix return value docs for comment_rep…
Browse files Browse the repository at this point in the history
…ly function
  • Loading branch information
jhodgdon-drp committed Jun 6, 2012
1 parent ecf40c6 commit 93a9656
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions modules/comment/comment.pages.inc
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,12 @@
* Some comments are replies to other comments. In those cases, $pid is the parent
* comment's cid.
*
* @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, $pid = NULL) {
// Set the breadcrumb trail.
Expand Down

0 comments on commit 93a9656

Please sign in to comment.