function CommentHelperCase::setCommentSettings

Set comment setting for article content type.

Parameters

string $name: Name of variable.

string $value: Value of variable.

string $message: Status message to display.

15 calls to CommentHelperCase::setCommentSettings()
CommentHelperCase::setCommentAnonymous in drupal/modules/comment/comment.test
Set comment anonymous level setting.
CommentHelperCase::setCommentForm in drupal/modules/comment/comment.test
Set comment form location setting.
CommentHelperCase::setCommentPreview in drupal/modules/comment/comment.test
Set comment preview setting.
CommentHelperCase::setCommentsPerPage in drupal/modules/comment/comment.test
Set the default number of comments per page.
CommentHelperCase::setCommentSubject in drupal/modules/comment/comment.test
Set comment subject setting.

... See full list

File

drupal/modules/comment/comment.test, line 207
Tests for comment.module.

Class

CommentHelperCase
@file Tests for comment.module.

Code

function setCommentSettings($name, $value, $message) {
  variable_set($name . '_article', $value);

  // Display status message.
  $this
    ->pass($message);
}