_comment_per_page

Versions
4.6 – 7
_comment_per_page()

Return an array of "comments per page" settings from which the user can choose.

Code

modules/comment.module, line 1675

<?php
function _comment_per_page() {
  return drupal_map_assoc(array(10, 30, 50, 70, 90, 150, 200, 250, 300));
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.