Comment |
class |
core/modules/comment/comment.entity.inc |
Defines the comment entity class. |
comment.css |
file |
core/modules/comment/css/comment.css |
#comments {
margin-top: 15px;
}
.indented {
margin-left: 25px; /* LTR */
}
[dir="rtl"] .indented {
margin-left: 0;
margin-right: 25px;
}
.comment-unpublished {
background-color: #fff4f4;
}
.comment-preview {
background-color:… |
comment.css |
file |
core/themes/basis/css/component/comment.css |
.comment {
position: relative;
display: block;
padding: 0;
margin: 0 0 1.5em;
}
.comments .indented {
position: relative;
padding-left: 1.25em;
margin-top: -1.5em;
}
.comments .indented:before,
.comments .indented:after {
content:… |
Comment::id |
function |
core/modules/comment/comment.entity.inc |
Implements EntityInterface::id(). |
comment.test |
file |
core/modules/comment/tests/comment.test |
Tests for the Comment module. |
comment_menu |
function |
core/modules/comment/comment.module |
Implements hook_menu(). |
comment_view |
function |
core/modules/comment/comment.module |
Generates an array for rendering a comment. |
comment.info |
file |
core/modules/comment/comment.info |
type = module
name = Comment
description = Allows users to comment on and discuss published content.
package = Comments
tags[] = Content
version = BACKDROP_VERSION
backdrop = 1.x
dependencies[] = node
dependencies[] = text
dependencies[] =… |
comment_save |
function |
core/modules/comment/comment.module |
Saves a new or updated comment. |
comment_load |
function |
core/modules/comment/comment.module |
Loads the entire comment by comment ID. |
comment_form |
function |
core/modules/comment/comment.module |
Form constructor for the basic commenting form. |
Comment::uri |
function |
core/modules/comment/comment.entity.inc |
Implements EntityInterface::uri(). |
comment_cron |
function |
core/modules/comment/comment.module |
Implements hook_cron(). |
comment_reply |
function |
core/modules/comment/comment.pages.inc |
Form constructor for the comment reply form. |
comment_theme |
function |
core/modules/comment/comment.module |
Implements hook_theme(). |
comment_links |
function |
core/modules/comment/comment.module |
Adds reply, edit, delete, etc. links, depending on user permissions. |
comment_forms |
function |
core/modules/comment/comment.module |
Implements hook_forms(). |
Comment::$cid |
property |
core/modules/comment/comment.entity.inc |
The comment ID. |
Comment::$pid |
property |
core/modules/comment/comment.entity.inc |
The parent comment ID if this is a reply to a comment. |
Comment::$uid |
property |
core/modules/comment/comment.entity.inc |
The comment author ID. |
Comment::$nid |
property |
core/modules/comment/comment.entity.inc |
The ID of the node to which the comment is attached. |
comment_admin |
function |
core/modules/comment/comment.admin.inc |
Page callback: Presents an administrative comment listing. |
comment.module |
file |
core/modules/comment/comment.module |
Enables users to comment on published content. |
comment_access |
function |
core/modules/comment/comment.module |
Determines whether the current user has access to a particular comment. |
comment_delete |
function |
core/modules/comment/comment.module |
Deletes a comment and all its replies. |
comment_submit |
function |
core/modules/comment/comment.module |
Prepare a comment for submission. |
comment_enable |
function |
core/modules/comment/comment.install |
Implements hook_enable(). |
comment_schema |
function |
core/modules/comment/comment.install |
Implements hook_schema(). |
Comment::$name |
property |
core/modules/comment/comment.entity.inc |
The comment author's name. |
Comment::$mail |
property |
core/modules/comment/comment.entity.inc |
The comment author's email address. |
Comment::label |
function |
core/modules/comment/comment.entity.inc |
Implements EntityInterface::label(). |
comment_tokens |
function |
core/modules/comment/comment.tokens.inc |
Implements hook_tokens(). |
Node::$comment |
property |
core/modules/node/node.entity.inc |
The node comment status indicator. |
Query::comment |
function |
core/includes/database/query.inc |
Adds a comment to the query. |
comment_approve |
function |
core/modules/comment/comment.pages.inc |
Page callback: Publishes the specified comment. |
comment.tpl.php |
file |
core/modules/comment/templates/comment.tpl.php |
Default theme implementation for comments. |
comment.tpl.php |
file |
core/themes/bartik/templates/comment.tpl.php |
Bartik's theme implementation for comments. |
comment.api.php |
file |
core/modules/comment/comment.api.php |
Hooks provided by the Comment module. |
comment.install |
file |
core/modules/comment/comment.install |
Install, update and uninstall functions for the Comment module. |
comment.tpl.php |
file |
core/themes/basis/templates/comment.tpl.php |
Basis' theme implementation for comments. |
comment_num_new |
function |
core/modules/comment/comment.module |
Gets the number of new comments for the current user and the specified node. |
comment_preview |
function |
core/modules/comment/comment.module |
Generates a comment preview. |
comment_ranking |
function |
core/modules/comment/comment.module |
Implements hook_ranking(). |
Comment::bundle |
function |
core/modules/comment/comment.entity.inc |
Implements EntityInterface::bundle(). |
Comment::access |
function |
core/modules/comment/comment.entity.inc |
Overrides Entity::access(). |
comment_install |
function |
core/modules/comment/comment.install |
Implements hook_install(). |
CommentAnonymous |
class |
core/modules/comment/tests/comment.test |
Tests anonymous commenting. |
CommentPagerTest |
class |
core/modules/comment/tests/comment.test |
Verifies pagination of comments. |
Query::$comments |
property |
core/includes/database/query.inc |
An array of comments that can be prepended to a query. |
Comment::$thread |
property |
core/modules/comment/comment.entity.inc |
A list of comment IDs that make up the parents of this comment. |