function _comment_per_page in Drupal 7
Same name and namespace in other branches
- 4 modules/comment.module \_comment_per_page()
- 5 modules/comment/comment.module \_comment_per_page()
- 6 modules/comment/comment.module \_comment_per_page()
Return an array of "comments per page" settings from which the user can choose.
1 call to _comment_per_page()
- comment_form_node_type_form_alter in modules/
comment/ comment.module - Implements hook_form_FORM_ID_alter().
File
- modules/
comment/ comment.module, line 2432 - 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,
));
}