constant COMMENT_MODE_FLAT in Drupal 7
Comments are displayed in a flat list - expanded.
6 uses of COMMENT_MODE_FLAT
- CommentPagerTest::testCommentNewPageIndicator in modules/
comment/ comment.test - Test comment_new_page_count().
- CommentPagerTest::testCommentOrderingThreading in modules/
comment/ comment.test - Test comment ordering and threading.
- CommentPagerTest::testCommentPaging in modules/
comment/ comment.test - Confirm comment paging works correctly with flat and threaded comments.
- comment_get_display_ordinal in modules/
comment/ comment.module - Get the display ordinal for a comment, starting from 0.
- comment_get_thread in modules/
comment/ comment.module - Retrieve comments for a thread.
File
- modules/
comment/ comment.module, line 25 - Enables users to comment on published content.
Code
define('COMMENT_MODE_FLAT', 0);