_node_characters
function _node_characters
_node_characters($length)
Helper function for teaser length choices.
File
- modules/node/content_types.inc, line 247
- Content type editing user interface.
Code
function _node_characters($length) { return ($length == 0) ? t('Unlimited') : format_plural($length, '1 character', '@count characters'); }
© 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!node!content_types.inc/function/_node_characters/7.x