1.20.x node.types.inc | _node_characters($length) |
Helper function for teaser length choices.
File
- modules/
node/ node.types.inc, line 402 - Content type editing user interface.
Code
function _node_characters($length) {
return ($length == 0) ? t('Unlimited') : format_plural($length, '1 character', '@count characters');
}