function _comment_per_page

_comment_per_page()

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

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));
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!comment!comment.module/function/_comment_per_page/7.x