watchdog

Functions that call watchdog()

Namesort iconLocationDescription
actions_doincludes/actions.incPerform a given list of actions by executing their callback functions.
actions_saveincludes/actions.incSave an action and its associated user-supplied parameter values to the database.
actions_synchronizeincludes/actions.incSynchronize actions that are provided by modules.
aggregator_form_category_submitmodules/aggregator/aggregator.admin.incProcess aggregator_form_category form submissions.
aggregator_form_feed_submitmodules/aggregator/aggregator.admin.incProcess aggregator_form_feed() form submissions.
aggregator_parse_feedmodules/aggregator/aggregator.moduleParse a feed and store its items.
aggregator_refreshmodules/aggregator/aggregator.moduleChecks a news feed for new items.
blogapi_blogger_edit_postmodules/blogapi/blogapi.moduleBlogging API callback. Modifies the specified blog node.
blogapi_blogger_new_postmodules/blogapi/blogapi.moduleBlogging API callback. Inserts a new blog post as a node.
book_admin_edit_submitmodules/book/book.admin.incHandle submission of the book administrative page form.
comment_admin_overview_submitmodules/comment/comment.admin.incProcess comment_admin_overview form submissions.
comment_savemodules/comment/comment.moduleAccepts a submission of new or changed comment content.
comment_unpublish_actionmodules/comment/comment.moduleDrupal action to unpublish a comment.
comment_unpublish_by_keyword_actionmodules/comment/comment.moduleImplementation of a configurable Drupal action.
contact_admin_delete_submitmodules/contact/contact.admin.incProcess category delete form submission.
contact_admin_edit_submitmodules/contact/contact.admin.incProcess the contact category edit page form submission.
contact_mail_page_submitmodules/contact/contact.pages.incProcess the site-wide contact page form submission.
contact_mail_user_submitmodules/contact/contact.pages.incProcess the personal contact page form submission.
drupal_access_deniedincludes/common.incGenerates a 403 error if the request is not allowed.
drupal_convert_to_utf8includes/unicode.incConvert data to UTF-8
drupal_cron_cleanupincludes/common.incShutdown function for cron cleanup.
drupal_cron_runincludes/common.incExecutes a cron run when called
drupal_error_handlerincludes/common.incLog errors as defined by administrator.
drupal_mailincludes/mail.incCompose and optionally send an e-mail message.
drupal_not_foundincludes/common.incGenerates a 404 error if the request can not be handled.
drupal_xml_parser_createincludes/unicode.incPrepare a new XML parser.
file_check_directoryincludes/file.incCheck that the directory exists and is writable.
file_save_uploadincludes/file.incSaves a file upload to a new location.
file_unmanaged_deleteincludes/file.incDelete a file without calling any hooks or making any changes to the database.
forum_confirm_delete_submitmodules/forum/forum.admin.incImplementation of forms api _submit call. Deletes a forum after confirmation.
hook_pingdeveloper/hooks/core.phpPing another server.
image_toolkit_invokeincludes/image.incInvokes the given method using the currently selected toolkit.
locale_add_languageincludes/locale.incAPI function to add a language.
locale_languages_delete_form_submitincludes/locale.incProcess language deletion submissions.
locale_translate_import_form_submitincludes/locale.incProcess the locale import form submission.
locale_update_js_filesmodules/locale/locale.moduleUpdate JavaScript translation file, if required, and add it to the page.
menu_delete_menu_confirm_submitmodules/menu/menu.admin.incDelete a custom menu and all items in it.
menu_item_delete_form_submitmodules/menu/menu.admin.incProcess menu delete form submissions.
node_assign_owner_actionmodules/node/node.moduleImplementation of a configurable Drupal action. Assigns ownership of a node to a user.
node_deletemodules/node/node.moduleDelete a node.
node_make_sticky_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 1.
node_make_unsticky_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the sticky-at-top-of-list property of a node to 0.
node_promote_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the promote property of a node to 1.
node_publish_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the status of a node to 1, meaning published.
node_save_actionmodules/node/node.moduleImplementation of a Drupal action. Saves a node.
node_type_delete_confirm_submitmodules/node/content_types.incProcess content type delete confirm submissions.
node_type_form_submitmodules/node/content_types.incImplementation of hook_form_submit().
node_unpromote_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the promote property of a node to 0.
node_unpublish_actionmodules/node/node.moduleImplementation of a Drupal action. Sets the status of a node to 0, meaning unpublished.
node_unpublish_by_keyword_actionmodules/node/node.moduleImplementation of a configurable Drupal action. Unpublish a node if it contains a certain string.
profile_field_delete_submitmodules/profile/profile.admin.incProcess a field delete form submission.
profile_field_form_submitmodules/profile/profile.admin.incProcess profile_field_form submissions.
search_viewmodules/search/search.pages.incMenu callback; presents the search form and/or search results.
system_actions_delete_form_submitmodules/system/system.moduleProcess system_actions_delete form submissions.
system_block_ip_actionmodules/system/system.moduleImplementation of a Drupal action. Blocks the user's IP address.
system_cronmodules/system/system.moduleImplementation of hook_cron().
system_ip_blocking_delete_submitmodules/system/system.admin.incProcess system_ip_blocking_delete form submissions.
system_send_email_actionmodules/system/system.moduleImplementation of a configurable Drupal action. Sends an email.
taxonomy_form_term_submitmodules/taxonomy/taxonomy.admin.incSubmit handler to insert or update a term. See alsotaxonomy_form_term()
taxonomy_form_vocabulary_submitmodules/taxonomy/taxonomy.admin.incAccept the form submission for a vocabulary and save the results.
taxonomy_term_confirm_delete_submitmodules/taxonomy/taxonomy.admin.incSubmit handler to delete a term after confirmation. See alsotaxonomy_term_confirm_delete()
taxonomy_vocabulary_confirm_delete_submitmodules/taxonomy/taxonomy.admin.incSubmit handler to delete a vocabulary after confirmation. See alsotaxonomy_vocabulary_confirm_delete()
taxonomy_vocabulary_confirm_reset_alphabetical_submitmodules/taxonomy/taxonomy.admin.incSubmit handler to reset a vocabulary to alphabetical order after confirmation. See alsotaxonomy_vocabulary_confirm_reset_alphabetical()
user_authenticate_finalizemodules/user/user.moduleFinalize the login process. Must be called when logging in a user.
user_block_user_actionmodules/user/user.moduleImplementation of a Drupal action. Blocks the current user.
user_deletemodules/user/user.moduleDelete a user.
user_external_login_registermodules/user/user.moduleHelper function for authentication modules. Either login in or registers the current user, based on username. Either way, the global $user object is populated based on $name.
user_login_final_validatemodules/user/user.moduleA validate handler on the login form. Should be the last validator. Sets an error if user has not been authenticated yet.
user_logoutmodules/user/user.pages.incMenu callback; logs the current user out, and redirects to the home page.
user_pass_resetmodules/user/user.pages.incMenu callback; process one time login link and redirects to the user page on success.
user_profile_form_validatemodules/user/user.pages.incValidation function for the user account and profile editing form.
user_register_submitmodules/user/user.moduleSubmit handler for the user registration form.
user_user_operationsmodules/user/user.moduleImplementation of hook_user_operations().
watchdogincludes/bootstrap.incLog a system message.
_comment_delete_threadmodules/comment/comment.admin.incPerform the actual deletion of a comment and all its replies.
_form_validateincludes/form.incPerforms validation on form elements. First ensures required fields are completed, #maxlength is not exceeded, and selected options were in the list of options given to the user. Then calls user-defined validators.
_locale_export_poincludes/locale.incWrite a generated PO or POT file to the output.
_locale_import_poincludes/locale.incParses Gettext Portable Object file information and inserts into database
_locale_rebuild_jsincludes/locale.inc(Re-)Creates the JavaScript translation file for a language.
_update_refreshmodules/update/update.fetch.incFetch project info via XML from a central server.

Functions called by watchdog()

Namesort iconLocationDescription
ip_addressincludes/bootstrap.incIf Drupal is behind a reverse proxy, we use the X-Forwarded-For header instead of $_SERVER['REMOTE_ADDR'], which would be the IP address of the proxy server, and not the client's. If Drupal is run in a cluster we use the...
module_implementsincludes/module.incDetermine which modules are implementing a hook.
module_invokeincludes/module.incInvoke a hook in a particular module.
request_uriincludes/bootstrap.incSince $_SERVER['REQUEST_URI'] is only available on Apache, we generate an equivalent using other environment variables.
watchdogincludes/bootstrap.incLog a system message.
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.