CommentHelperCase::setCommentForm in core/modules/comment/tests/comment.test
Sets the value governing whether the comment form is on its own page.
CommentInterfaceTest::assertCommentLinks in core/modules/comment/tests/comment.test
Asserts that comment links appear according to the passed environment.
CommentInterfaceTest::setEnvironment in core/modules/comment/tests/comment.test
Re-configures the environment, module settings, and user permissions.
CommentInterfaceTest::testCommentLinks in core/modules/comment/tests/comment.test
Tests comment links.
comment_node_view in core/modules/comment/comment.module
Implements hook_node_view().
theme_comment_post_forbidden in core/modules/comment/comment.theme.inc
Returns HTML for a "you can't post comments" notice.