function CommentHelperCase::setCommentSubject

Set comment subject setting.

Parameters

boolean $enabled: Subject value.

24 calls to CommentHelperCase::setCommentSubject()
CommentContentRebuild::testCommentRebuild in drupal-7.x/modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentContentRebuild::testCommentRebuild in drupal-7.x/modules/comment/comment.test
Test to ensure that the comment's content array is rebuilt for every call to comment_view().
CommentInterfaceTest::testCommentInterface in drupal-7.x/modules/comment/comment.test
Test comment interface.
CommentInterfaceTest::testCommentInterface in drupal-7.x/modules/comment/comment.test
Test comment interface.
CommentInterfaceTest::testCommentNodeCommentStatistics in drupal-7.x/modules/comment/comment.test
Tests the node comment statistics.

... See full list

Archivo

drupal-7.x/modules/comment/comment.test, line 134
Tests for comment.module.

Class

CommentHelperCase

Código

function setCommentSubject($enabled) {
  $this->setCommentSettings('comment_subject_field', ($enabled ? '1' : '0'), 'Comment subject ' . ($enabled ? 'enabled' : 'disabled') . '.');
}