Search for comment

  1. Search 9.5.x for comment
  2. Search 8.9.x for comment
  3. Search 10.3.x for comment
  4. Search 11.x for comment
  5. Other projects
Title Object type File name Summary
comment_get_thread function modules/comment/comment.module Retrieve comments for a thread.
comment_hacks.css file modules/simpletest/files/css_test_files/comment_hacks.css /*
* A sample css file, designed to test the effectiveness and stability
* of function <code>drupal_load_stylesheet_content()</code>.
*
*/
/*
A large comment block to test for segfaults and speed. This is 60K a's. Extreme but useful…
comment_hacks.css.optimized.css file modules/simpletest/files/css_test_files/comment_hacks.css.optimized.css .test1{display:block;}img[style*="float: right"]{padding-left:5px;}html .clear-block{height:1%;}.clear-block{display:block;font:italic bold 12px/30px…
comment_hacks.css.unoptimized.css file modules/simpletest/files/css_test_files/comment_hacks.css.unoptimized.css /*
* A sample css file, designed to test the effectiveness and stability
* of function <code>drupal_load_stylesheet_content()</code>.
*
*/
/*
A large comment block to test for segfaults and speed. This is 60K a's. Extreme but useful…
comment_help function modules/comment/comment.module Implements hook_help().
comment_hook_test.info file modules/comment/tests/comment_hook_test.info name = "Comment Hooks Test"
description = "Support module for comment hook tests."
core = 7.x
package = Testing
version = VERSION
hidden = TRUE
comment_hook_test.module file modules/comment/tests/comment_hook_test.module Test module for the comment hooks testing.
comment_hook_test_comment_publish function modules/comment/tests/comment_hook_test.module Implements hook_comment_publish().
comment_hook_test_comment_unpublish function modules/comment/tests/comment_hook_test.module Implements hook_comment_unpublish().
comment_links function modules/comment/comment.module Helper function, build links for an individual comment.
comment_load function modules/comment/comment.module Load the entire comment by cid.
comment_load_multiple function modules/comment/comment.module Load comments from the database.
comment_menu function modules/comment/comment.module Implements hook_menu().
comment_menu_alter function modules/comment/comment.module Implements hook_menu_alter().
COMMENT_MODE_FLAT constant modules/comment/comment.module Comments are displayed in a flat list - expanded.
COMMENT_MODE_THREADED constant modules/comment/comment.module Comments are displayed as a threaded list - expanded.
comment_modules_enabled function modules/comment/comment.install Implements hook_modules_enabled().
comment_multiple_delete_confirm function modules/comment/comment.admin.inc List the selected comments and verify that the admin wants to delete them.
comment_multiple_delete_confirm_submit function modules/comment/comment.admin.inc Process comment_multiple_delete_confirm form submissions.
comment_new_page_count function modules/comment/comment.module Calculate page number for first new comment.
COMMENT_NODE_CLOSED constant modules/comment/comment.module Comments for this node are closed.
comment_node_delete function modules/comment/comment.module Implements hook_node_delete().
COMMENT_NODE_HIDDEN constant modules/comment/comment.module Comments for this node are hidden.
comment_node_insert function modules/comment/comment.module Implements hook_node_insert().
comment_node_load function modules/comment/comment.module Implements hook_node_load().
COMMENT_NODE_OPEN constant modules/comment/comment.module Comments for this node are open.
comment_node_page_additions function modules/comment/comment.module Build the comment-related elements for node detail pages.
comment_node_prepare function modules/comment/comment.module Implements hook_node_prepare().
comment_node_search_result function modules/comment/comment.module Implements hook_node_search_result().
comment_node_type_delete function modules/comment/comment.module Implements hook_node_type_delete().
comment_node_type_insert function modules/comment/comment.module Implements hook_node_type_insert().
comment_node_type_load function modules/comment/comment.module Menu loader callback for Field UI paths.
comment_node_type_update function modules/comment/comment.module Implements hook_node_type_update().
comment_node_update_index function modules/comment/comment.module Implements hook_node_update_index().
comment_node_view function modules/comment/comment.module Implements hook_node_view().
COMMENT_NOT_PUBLISHED constant modules/comment/comment.module Comment is awaiting approval.
comment_num_new function modules/comment/comment.module Get number of new comments for current user and specified node.
comment_permalink function modules/comment/comment.module Redirects comment links to the correct page depending on comment settings.
comment_permission function modules/comment/comment.module Implements hook_permission().
comment_prepare_thread function modules/comment/comment.module Loop over comment thread, noting indentation level.
comment_preview function modules/comment/comment.module Generate a comment preview.
COMMENT_PUBLISHED constant modules/comment/comment.module Comment is published.
comment_publish_action function modules/comment/comment.module Publishes a comment.
comment_ranking function modules/comment/comment.module Implements hook_ranking().
comment_rdf_mapping function modules/comment/comment.module Implements hook_rdf_mapping().
comment_reply function modules/comment/comment.pages.inc This function is responsible for generating a comment reply form.
There are several cases that have to be handled, including:
comment_save function modules/comment/comment.module Accepts a submission of new or changed comment content.
comment_save_action function modules/comment/comment.module Saves a comment.
comment_schema function modules/comment/comment.install Implements hook_schema().
comment_submit function modules/comment/comment.module Prepare a comment for submission.

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