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