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_load function core/modules/comment/comment.api.php Act on comments being loaded from the database.
hook_comment_view function core/modules/comment/comment.api.php Act on a comment that is being assembled before rendering.
COMMENT_PUBLISHED constant core/modules/comment/comment.module Comment is published.
COMMENT_MODE_FLAT constant core/modules/comment/comment.module Comments are displayed in a flat list - expanded.
COMMENT_NODE_OPEN constant core/modules/comment/comment.module Comments for this node are open.
comment.views.inc file core/modules/comment/views/comment.views.inc Provide views data and handlers for comment.module.
comment_views_api function core/modules/comment/comment.module Implements hook_views_api().
comment_permalink function core/modules/comment/comment.module Redirects comment links to the correct page depending on comment settings.
comment_node_view function core/modules/comment/comment.module Implements hook_node_view().
comment.admin.inc file core/modules/comment/comment.admin.inc Admin page callbacks for the Comment module.
comment.pages.inc file core/modules/comment/comment.pages.inc User page callbacks for the Comment module.
comment.theme.inc file core/modules/comment/comment.theme.inc Theme functions for the Comment module.
comment_node_load function core/modules/comment/comment.module Implements hook_node_load().
comment_edit_page function core/modules/comment/comment.module Page callback: Displays the comment editing form.
user_comment_view function core/modules/user/user.module Implements hook_comment_view().
CommentHelperCase class core/modules/comment/tests/comment.test
comment_uninstall function core/modules/comment/comment.install Implements hook_uninstall().
Comment::$subject property core/modules/comment/comment.entity.inc The comment title.
comment_hacks.css file core/modules/simpletest/files/css_test_files/comment_hacks.css /* * A sample css file, designed to test the effectiveness and stability * of function <code>backdrop_load_stylesheet_content()</code>. * */ /* A large comment block to test for segfaults and speed. This is 60K a's. Extreme but useful…
CommentFieldsTest class core/modules/comment/tests/comment.test Tests fields on comments.
COMMENT_FORM_BELOW constant core/modules/comment/comment.module Comment form should be shown below post or list of comments.
comment.tests.info file core/modules/comment/tests/comment.tests.info [CommentInterfaceTest] name = Comment interface description = Test comment user interfaces. group = Comment file = comment.test [CommentPreviewTest] name = Comment preview description = Test comment preview. group = Comment file =…
comment_menu_alter function core/modules/comment/comment.module Implements hook_menu_alter().
comment_permission function core/modules/comment/comment.module Implements hook_permission().
comment_block_info function core/modules/comment/comment.module Implements hook_block_info().
comment_block_view function core/modules/comment/comment.module Implements hook_block_view().
comment_get_recent function core/modules/comment/comment.module Finds the most recent comments that are available to the current user.
comment_get_thread function core/modules/comment/comment.module Retrieves comments for a thread.
comment.entity.inc file core/modules/comment/comment.entity.inc Entity controller and class for comments.
COMMENT_TITLE_AUTO constant core/modules/comment/comment.module Auto generated comment titles.
comment.tokens.inc file core/modules/comment/comment.tokens.inc Builds placeholder replacement tokens for comment-related data.
_comment_get_modes function core/modules/comment/comment.module Returns an array of viewing modes for comment listings.
Comment::$langcode property core/modules/comment/comment.entity.inc The comment language code.
CommentPreviewTest class core/modules/comment/tests/comment.test Tests previewing comments.
Comment::$homepage property core/modules/comment/comment.entity.inc The comment author's home page address.
comment_token_info function core/modules/comment/comment.tokens.inc Implements hook_token_info().
CommentRSSUnitTest class core/modules/comment/tests/comment.test Unit tests for Comment module integration with RSS feeds.
comment_views_data function core/modules/comment/views/comment.views.inc
_comment_close_all function core/modules/comment/comment.module Close all comments that meet the current threshold.
Query::getComments function core/includes/database/query.inc Returns a reference to the comments array for the query.
hook_comment_delete function core/modules/comment/comment.api.php Respond to comment deletion.
COMMENT_NODE_HIDDEN constant core/modules/comment/comment.module Comments for this node are hidden.
COMMENT_NODE_CLOSED constant core/modules/comment/comment.module Comments for this node are closed.
comment_entity_info function core/modules/comment/comment.module Implements hook_entity_info().
comment_update_1008 function core/modules/comment/comment.install Replace comment_subject_field setting with comment_title_options.
comment_node_insert function core/modules/comment/comment.module Implements hook_node_insert().
comment_user_cancel function core/modules/comment/comment.module Implements hook_user_cancel().
comment_form_submit function core/modules/comment/comment.module Form submission handler for comment_form().
comment_action_info function core/modules/comment/comment.module Implements hook_action_info().
comment_update_1000 function core/modules/comment/comment.install Renames {comment}.language to {comment}.langcode.

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