Search for all

  1. Search 9.5.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Other projects
Title Object type File name Summary
comment.api.php file modules/comment/comment.api.php Hooks provided by the Comment module.
comment.css file modules/comment/comment.css #comments {
margin-top: 15px;
}
.indented {
margin-left: 25px; /* LTR */
}
.comment-unpublished {
background-color: #fff4f4;
}
.comment-preview {
background-color: #ffffea;
}
comment.info file modules/comment/comment.info name = Comment
description = Allows users to comment on and discuss published content.
package = Core
version = VERSION
core = 7.x
dependencies[] = text
files[] = comment.module
files[] = comment.test
configure =…
comment.install file modules/comment/comment.install Install, update and uninstall functions for the comment module.
comment.module file modules/comment/comment.module Enables users to comment on published content.
comment.pages.inc file modules/comment/comment.pages.inc User page callbacks for the comment module.
comment.test file modules/comment/comment.test Tests for comment.module.
comment.tokens.inc file modules/comment/comment.tokens.inc Builds placeholder replacement tokens for comment-related data.
comment.tpl.php file modules/comment/comment.tpl.php Default theme implementation for comments.
comment.tpl.php file themes/garland/comment.tpl.php
comment.tpl.php file themes/bartik/templates/comment.tpl.php Bartik's theme implementation for comments.
CommentActionsTestCase class modules/comment/comment.test Test actions provided by the comment module.
CommentActionsTestCase::assertHookMessage function modules/comment/comment.test Pass if the message $text was set by one of the comment hooks in
comment_hook_test.module, i.e., if the $text is an element of
$_SESSION['comment_hook_test'].
CommentActionsTestCase::assertWatchdogMessage function modules/comment/comment.test Verify that a watchdog message has been entered.
CommentActionsTestCase::clearWatchdog function modules/comment/comment.test Helper function: clear the watchdog.
CommentActionsTestCase::getInfo function modules/comment/comment.test
CommentActionsTestCase::testCommentPublishUnpublishActions function modules/comment/comment.test Test comment publish and unpublish actions.
CommentActionsTestCase::testCommentPublishUnpublishHooks function modules/comment/comment.test Test comment publish and unpublish hooks.
CommentActionsTestCase::testCommentUnpublishByKeyword function modules/comment/comment.test Tests the unpublish comment by keyword action.
CommentAnonymous class modules/comment/comment.test
CommentAnonymous::getInfo function modules/comment/comment.test
CommentAnonymous::setUp function modules/comment/comment.test Sets up a Drupal site for running functional and integration tests.
CommentAnonymous::testAnonymous function modules/comment/comment.test Test anonymous comment functionality.
CommentApprovalTest class modules/comment/comment.test
CommentApprovalTest::getInfo function modules/comment/comment.test
CommentApprovalTest::testApprovalAdminInterface function modules/comment/comment.test Test comment approval functionality through admin/content/comment.
CommentApprovalTest::testApprovalNodeInterface function modules/comment/comment.test Test comment approval functionality through node interface.
CommentAuthorDeletionTestCase class modules/comment/comment.test Tests the behavior of comments when the comment author is deleted.
CommentAuthorDeletionTestCase::getInfo function modules/comment/comment.test
CommentAuthorDeletionTestCase::testAuthorDeletion function modules/comment/comment.test Tests that comments are correctly deleted when their author is deleted.
CommentAuthorDeletionTestCase::testAuthorDeletionCommentModuleDisabled function modules/comment/comment.test Test comment author deletion while the comment module is disabled.
CommentBlockFunctionalTest class modules/comment/comment.test Functional tests for the comment module blocks.
CommentBlockFunctionalTest::getInfo function modules/comment/comment.test
CommentBlockFunctionalTest::testRecentCommentBlock function modules/comment/comment.test Test the recent comments block.
CommentContentRebuild class modules/comment/comment.test Test to make sure comment content is rebuilt.
CommentContentRebuild::getInfo function modules/comment/comment.test
CommentContentRebuild::testCommentRebuild function modules/comment/comment.test Test to ensure that the comment's content array is rebuilt for every
call to comment_view().
CommentController class modules/comment/comment.module Controller class for comments.
CommentController::attachLoad function modules/comment/comment.module Attaches data to entities upon loading.
CommentController::buildQuery function modules/comment/comment.module Builds the query to load the entity.
CommentFieldsTest class modules/comment/comment.test Test fields on comments.
CommentFieldsTest::getInfo function modules/comment/comment.test
CommentFieldsTest::testCommentDefaultFields function modules/comment/comment.test Tests that the default 'comment_body' field is correctly added.
CommentFieldsTest::testCommentEnable function modules/comment/comment.test Test that comment module works when enabled after a content module.
CommentFieldsTest::testCommentFormat function modules/comment/comment.test Test that comment module works correctly with plain text format.
CommentHelperCase class modules/comment/comment.test @file
Tests for comment.module.
CommentHelperCase::$admin_user property modules/comment/comment.test
CommentHelperCase::$node property modules/comment/comment.test
CommentHelperCase::$super_user property modules/comment/comment.test
CommentHelperCase::$web_user property modules/comment/comment.test

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.