function _comment_get_modes
Same name and namespace in other branches
- 6.x drupal-6.x/modules/comment/comment.module \_comment_get_modes()
Return an array of viewing modes for comment listings.
We can't use a global variable array because the locale system is not initialized yet when the comment module is loaded.
Archivo
- drupal-7.x/
modules/ comment/ comment.module, line 2417 - Enables users to comment on published content.
Código
function _comment_get_modes() {
return array(
COMMENT_MODE_FLAT => t('Flat list'),
COMMENT_MODE_THREADED => t('Threaded list'),
);
}