function _comment_per_page
7.x comment.module | _comment_per_page() |
6.x comment.module | _comment_per_page() |
Return an array of "comments per page" settings from which the user can choose.
2 calls to _comment_per_page()
- comment_controls in drupal-6.x/
modules/ comment/ comment.module - Build a comment control form.
- comment_form_alter in drupal-6.x/
modules/ comment/ comment.module - Implementation of hook_form_alter().
File
- drupal-6.x/
modules/ comment/ comment.module, line 1878 - Enables users to comment on published content.
Code
function _comment_per_page() {
return drupal_map_assoc(array(10, 30, 50, 70, 90, 150, 200, 250, 300));
}