You are here

function CommentHelperCase::setCommentSettings in Drupal 7

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 modules/comment/comment.test
Set comment anonymous level setting.
CommentHelperCase::setCommentForm in modules/comment/comment.test
Set comment form location setting.
CommentHelperCase::setCommentPreview in modules/comment/comment.test
Set comment preview setting.
CommentHelperCase::setCommentsPerPage in modules/comment/comment.test
Set the default number of comments per page.
CommentHelperCase::setCommentSubject in modules/comment/comment.test
Set comment subject setting.

... See full list

File

modules/comment/comment.test, line 209
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);
}