_comment_get_modes
- Versions
- 4.6 – 7
_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.
Code
modules/comment.module, line 1635
<?php
function _comment_get_modes() {
return array(1 => t('Flat list - collapsed'), 2 => t('Flat list - expanded'), 3 => t('Threaded list - collapsed'), 4 => t('Threaded list - expanded'));
}
?>Login or register to post comments 