Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
comment.module
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
constant COMMENT_MODE_FLAT
Comments are displayed in a flat list - expanded.
6 uses of COMMENT_MODE_FLAT
CommentPagerTest::testCommentNewPageIndicator
in drupal/
modules/
comment/
comment.test
Test
comment_new_page_count
().
CommentPagerTest::testCommentOrderingThreading
in drupal/
modules/
comment/
comment.test
Test comment ordering and threading.
CommentPagerTest::testCommentPaging
in drupal/
modules/
comment/
comment.test
Confirm comment paging works correctly with flat and threaded comments.
comment_get_display_ordinal
in drupal/
modules/
comment/
comment.module
Get the display ordinal for a comment, starting from 0.
comment_get_thread
in drupal/
modules/
comment/
comment.module
Retrieve comments for a thread.
... See full list
File
drupal/
modules/
comment/
comment.module
, line 25
Enables users to comment on published content.
Code
define
(
'COMMENT_MODE_FLAT'
,
0
);