Functions - 7.x - drupal

Primary tabs

Title Deprecated File name Summary Direct uses Strings
comment_load modules/comment/comment.module Load the entire comment by cid. 22
comment_load_multiple modules/comment/comment.module Load comments from the database. 8
comment_menu modules/comment/comment.module Implements hook_menu().
comment_menu_alter modules/comment/comment.module Implements hook_menu_alter().
comment_modules_enabled modules/comment/comment.install Implements hook_modules_enabled().
comment_multiple_delete_confirm modules/comment/comment.admin.inc List the selected comments and verify that the admin wants to delete them. 1
comment_multiple_delete_confirm_submit modules/comment/comment.admin.inc Process comment_multiple_delete_confirm form submissions.
comment_new_page_count modules/comment/comment.module Calculate page number for first new comment. 3
comment_node_delete modules/comment/comment.module Implements hook_node_delete().
comment_node_insert modules/comment/comment.module Implements hook_node_insert().
comment_node_load modules/comment/comment.module Implements hook_node_load().
comment_node_page_additions modules/comment/comment.module Build the comment-related elements for node detail pages. 1
comment_node_prepare modules/comment/comment.module Implements hook_node_prepare().
comment_node_search_result modules/comment/comment.module Implements hook_node_search_result().
comment_node_type_delete modules/comment/comment.module Implements hook_node_type_delete().
comment_node_type_insert modules/comment/comment.module Implements hook_node_type_insert().
comment_node_type_load modules/comment/comment.module Menu loader callback for Field UI paths.
comment_node_type_update modules/comment/comment.module Implements hook_node_type_update().
comment_node_update_index modules/comment/comment.module Implements hook_node_update_index().
comment_node_view modules/comment/comment.module Implements hook_node_view().
comment_num_new modules/comment/comment.module Get number of new comments for current user and specified node. 4 1
comment_permalink modules/comment/comment.module Redirects comment links to the correct page depending on comment settings. 1
comment_permission modules/comment/comment.module Implements hook_permission().
comment_prepare_thread modules/comment/comment.module Loop over comment thread, noting indentation level. 2
comment_preview modules/comment/comment.module Generate a comment preview. 1 2
comment_publish_action modules/comment/comment.module Publishes a comment. 1
comment_ranking modules/comment/comment.module Implements hook_ranking().
comment_rdf_mapping modules/comment/comment.module Implements hook_rdf_mapping().
comment_reply 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: 1
comment_save modules/comment/comment.module Accepts a submission of new or changed comment content. 12
comment_save_action modules/comment/comment.module Saves a comment.
comment_schema modules/comment/comment.install Implements hook_schema().
comment_submit modules/comment/comment.module Prepare a comment for submission. 1
comment_theme modules/comment/comment.module Implements hook_theme().
comment_tokens modules/comment/comment.tokens.inc Implements hook_tokens().
comment_token_info modules/comment/comment.tokens.inc Implements hook_token_info().
comment_uninstall modules/comment/comment.install Implements hook_uninstall().
comment_unpublish_action modules/comment/comment.module Unpublishes a comment. 1
comment_unpublish_by_keyword_action modules/comment/comment.module Unpublishes a comment if it contains certain keywords. 1 1
comment_unpublish_by_keyword_action_form modules/comment/comment.module Form builder; Prepare a form for blacklisted keywords.
comment_unpublish_by_keyword_action_submit modules/comment/comment.module Process comment_unpublish_by_keyword_action_form form submissions.
comment_update_7000 modules/comment/comment.install Rename comment display setting variables.
comment_update_7001 modules/comment/comment.install Change comment status from published being 0 to being 1
comment_update_7002 modules/comment/comment.install Rename {comments} table to {comment} and upgrade it.
comment_update_7003 modules/comment/comment.install Split {comment}.timestamp into 'created' and 'changed', improve indexing on {comment}.
comment_update_7004 modules/comment/comment.install Upgrade the {node_comment_statistics} table.
comment_update_7005 modules/comment/comment.install Create the comment_body field.
comment_update_7006 modules/comment/comment.install Migrate data from the comment field to field storage.
comment_update_7007 modules/comment/comment.install Add an index to the created column.
comment_update_7008 modules/comment/comment.install Update database to match Drupal 7 schema.

Other projects


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