Skip to main content
backdrop Documentation
Documentation and API source code for Backdrop CMS.
  • Welcome!
    • Login

Search for comment

  1. Home »
  2. API reference »
  3. 1.x
Name Type Location Description
hook_comment_view_alter function core/modules/comment/comment.api.php Alter the results of comment_view().
comment_block_configure function core/modules/comment/comment.module Implements hook_block_configure().
comment_delete_multiple function core/modules/comment/comment.module Deletes comments and all their replies.
comment_preprocess_node function core/modules/comment/comment.module Prepares variables for comment.tpl.php
comment_modules_enabled function core/modules/comment/comment.install Implements hook_modules_enabled().
CommentAnonymous::setUp function core/modules/comment/tests/comment.test Sets up a Backdrop site for running functional and integration tests.
CommentFieldsTest::setUp function core/modules/comment/tests/comment.test Sets up a Backdrop site for running functional and integration tests.
comment_node_type_insert function core/modules/comment/comment.module Implements hook_node_type_insert().
comment_node_type_update function core/modules/comment/comment.module Implements hook_node_type_update().
comment_node_type_delete function core/modules/comment/comment.module Implements hook_node_type_delete().
views_preprocess_comment function core/modules/views/views.module A theme preprocess function to automatically allow view-based node templates if called from a view.
comment_get_display_page function core/modules/comment/comment.module Returns the page number for a comment.
comment_preprocess_block function core/modules/comment/comment.module Implements hook_preprocess_block().
CommentHelperCase::$node property core/modules/comment/tests/comment.test
CommentHelperCase::setUp function core/modules/comment/tests/comment.test Sets up a Backdrop site for running functional and integration tests.
comment_unpublish_action function core/modules/comment/comment.module Unpublishes a comment.
search_comment_unpublish function core/modules/search/search.module Implements hook_comment_unpublish().
CommentStorageController class core/modules/comment/comment.entity.inc Defines the controller class for comments.
CommentThreadingTestCase class core/modules/comment/tests/comment.test Tests comment threading.
comment_views_data_alter function core/modules/comment/views/comment.views.inc Use views_data_alter to add items to the node table that are relevant to comments.
comment_count_unpublished function core/modules/comment/comment.module Returns a menu title which includes the number of unapproved comments.
comment_node_update_index function core/modules/comment/comment.module Implements hook_node_update_index().
ViewsUiCommentViewsWizard class core/modules/views_ui/wizards/views_ui_comment_views_wizard.php Tests creating comment views with the wizard.
COMMENT_FORM_SEPARATE_PAGE constant core/modules/comment/comment.module Comment form should be displayed on a separate page.
comment_field_extra_fields function core/modules/comment/comment.module Implements hook_field_extra_fields().
_comment_body_field_create function core/modules/comment/comment.module Creates a comment_body field instance for a given node type.
_token_example_get_comment function modules/examples/token_example/token_example.module Builds a list of available comments.
comment_node_search_result function core/modules/comment/comment.module Implements hook_node_search_result().
comment_form_build_preview function core/modules/comment/comment.module Form submission handler for the 'preview' button in comment_form().
CommentBlockFunctionalTest class core/modules/comment/tests/comment.test Tests the Comment module blocks.
CommentNodeChangesTestCase class core/modules/comment/tests/comment.test Tests that comments behave correctly when the node is changed.
comment_menu_node_type_load function core/modules/comment/comment.module Loads the comment bundle name corresponding a given content type.
comment_node_page_additions function core/modules/comment/comment.module Builds the comment-related elements for node detail pages.
TokenCommentTestCase::setUp function core/modules/simpletest/tests/token.test Sets up a Backdrop site for running functional and integration tests.
_filter_url_escape_comments function core/modules/filter/filter.module Escapes the contents of HTML comments.
comment_get_display_ordinal function core/modules/comment/comment.module Gets the display ordinal for a comment, starting from 0.
comment_int_to_alphadecimal function core/modules/comment/comment.module Generates a sorting code.
comment_alphadecimal_to_int function core/modules/comment/comment.module Decodes a sorting code back to an integer.
comment_update_dependencies function core/modules/comment/comment.install Implements hook_update_dependencies().
template_preprocess_comment function core/modules/comment/comment.theme.inc Preprocesses variables for comment.tpl.php.
CommentTokenReplaceTestCase class core/modules/comment/tests/comment.test Tests comment token replacement in strings.
views_handler_field_comment class core/modules/comment/views/views_handler_field_comment.inc Field handler to allow linking to a comment.
comment_confirm_delete_page function core/modules/comment/comment.admin.inc Page callback: Shows a confirmation page for comment deletions.
CommentHelperCase::$profile property core/modules/comment/tests/comment.test The profile to install as a basis for testing.
comment_form_node_form_alter function core/modules/comment/comment.module Implements hook_form_BASE_FORM_ID_alter().
SearchCommentTestCase::setUp function core/modules/search/tests/search.test Sets up a Backdrop site for running functional and integration tests.
CommentHelperCase::$web_user property core/modules/comment/tests/comment.test
comment_file_download_access function core/modules/comment/comment.module Implements hook_file_download_access().
CommentNodeAccessTest::setUp function core/modules/comment/tests/comment.test Sets up a Backdrop site for running functional and integration tests.
theme_comment_post_forbidden function core/modules/comment/comment.theme.inc Returns HTML for a "you can't post comments" notice.

Pages

  • « first
  • ‹ previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • next ›
  • last »

Directory

  • Getting started
    • Installing
    • Updates vs upgrades
    • Hosting/deploying
  • Upgrading from Drupal
    • Introduction
    • Upgrade overview
    • Converting Drupal code
  • User guide
    • Quick start guide
    • Using Backdrop
  • Add-On Documentation
  • Developing for Backdrop
    • Developing modules
    • Developing themes
    • Developing layouts
    • Using libraries
    • Local development
    • Writing secure code
    • Using JavaScript
  • Contributors guide
    • Contribute to Backdrop core
      • How to use the core issue queue
      • Adding labels to issues
      • Adding milestones to issues
    • Contribute Backdrop add-ons
    • Contribute to documentation
  • Developer API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Icon API
    • Database API
    • Theme functions
    • Form API reference
  • Appendix/reference
    • Change records
    • Glossary
    • Coding & documentation standards
    • Contrib permissions policy

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS

Footer Menu

  • documentation
  • localization
  • events
  • forum
  • backdropcms.org