Skip navigation
Help

Functions

NameLocationDescription
comment_deletedrupal/modules/comment/comment.moduleDelete a comment and all its replies.
comment_delete_multipledrupal/modules/comment/comment.moduleDelete comments and all their replies.
comment_edit_pagedrupal/modules/comment/comment.modulePage callback for comment editing.
comment_enabledrupal/modules/comment/comment.installImplements hook_enable().
comment_entity_infodrupal/modules/comment/comment.moduleImplements hook_entity_info().
comment_field_extra_fieldsdrupal/modules/comment/comment.moduleImplements hook_field_extra_fields().
comment_file_download_accessdrupal/modules/comment/comment.moduleImplements hook_file_download_access().
comment_formdrupal/modules/comment/comment.moduleGenerate the basic commenting form, for appending to a node or display on a separate page.
comment_formsdrupal/modules/comment/comment.moduleImplements hook_forms().
comment_form_build_previewdrupal/modules/comment/comment.moduleBuild a preview from submitted form values.
comment_form_node_form_alterdrupal/modules/comment/comment.moduleImplements hook_form_BASE_FORM_ID_alter().
comment_form_node_type_form_alterdrupal/modules/comment/comment.moduleImplements hook_form_FORM_ID_alter().
comment_form_submitdrupal/modules/comment/comment.moduleProcess comment form submissions; prepare the comment, store it, and set a redirection target.
comment_form_submit_build_commentdrupal/modules/comment/comment.moduleUpdates the form state's comment entity by processing this submission's values.
comment_form_validatedrupal/modules/comment/comment.moduleValidate comment form submissions.
comment_get_display_ordinaldrupal/modules/comment/comment.moduleGet the display ordinal for a comment, starting from 0.
comment_get_display_pagedrupal/modules/comment/comment.moduleReturn the page number for a comment.
comment_get_recentdrupal/modules/comment/comment.moduleFind the most recent comments that are available to the current user.
comment_get_threaddrupal/modules/comment/comment.moduleRetrieve comments for a thread.
comment_helpdrupal/modules/comment/comment.moduleImplements hook_help().
comment_linksdrupal/modules/comment/comment.moduleHelper function, build links for an individual comment.
comment_loaddrupal/modules/comment/comment.moduleLoad the entire comment by cid.
comment_load_multipledrupal/modules/comment/comment.moduleLoad comments from the database.
comment_menudrupal/modules/comment/comment.moduleImplements hook_menu().
comment_menu_alterdrupal/modules/comment/comment.moduleImplements hook_menu_alter().
comment_modules_enableddrupal/modules/comment/comment.installImplements hook_modules_enabled().
comment_multiple_delete_confirmdrupal/modules/comment/comment.admin.incList the selected comments and verify that the admin wants to delete them.
comment_multiple_delete_confirm_submitdrupal/modules/comment/comment.admin.incProcess comment_multiple_delete_confirm form submissions.
comment_new_page_countdrupal/modules/comment/comment.moduleCalculate page number for first new comment.
comment_node_deletedrupal/modules/comment/comment.moduleImplements hook_node_delete().
comment_node_insertdrupal/modules/comment/comment.moduleImplements hook_node_insert().
comment_node_loaddrupal/modules/comment/comment.moduleImplements hook_node_load().
comment_node_page_additionsdrupal/modules/comment/comment.moduleBuild the comment-related elements for node detail pages.
comment_node_preparedrupal/modules/comment/comment.moduleImplements hook_node_prepare().
comment_node_search_resultdrupal/modules/comment/comment.moduleImplements hook_node_search_result().
comment_node_type_deletedrupal/modules/comment/comment.moduleImplements hook_node_type_delete().
comment_node_type_insertdrupal/modules/comment/comment.moduleImplements hook_node_type_insert().
comment_node_type_loaddrupal/modules/comment/comment.moduleMenu loader callback for Field UI paths.
comment_node_type_updatedrupal/modules/comment/comment.moduleImplements hook_node_type_update().
comment_node_update_indexdrupal/modules/comment/comment.moduleImplements hook_node_update_index().
comment_node_viewdrupal/modules/comment/comment.moduleImplements hook_node_view().
comment_num_newdrupal/modules/comment/comment.moduleGet number of new comments for current user and specified node.
comment_permalinkdrupal/modules/comment/comment.moduleRedirects comment links to the correct page depending on comment settings.
comment_permissiondrupal/modules/comment/comment.moduleImplements hook_permission().
comment_prepare_threaddrupal/modules/comment/comment.moduleLoop over comment thread, noting indentation level.
comment_previewdrupal/modules/comment/comment.moduleGenerate a comment preview.
comment_publish_actiondrupal/modules/comment/comment.modulePublishes a comment.
comment_rankingdrupal/modules/comment/comment.moduleImplements hook_ranking().
comment_rdf_mappingdrupal/modules/comment/comment.moduleImplements hook_rdf_mapping().
comment_replydrupal/modules/comment/comment.pages.incThis function is responsible for generating a comment reply form. There are several cases that have to be handled, including: