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 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.
File
-
modules/
comment/ comment.test, line 209
Class
- CommentHelperCase
- @file Tests for comment.module.
Code
function setCommentSettings($name, $value, $message) {
variable_set($name . '_article', $value);
// Display status message.
$this->pass($message);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.