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;