_aggregator_characters

7 aggregator.processor.inc _aggregator_characters($length)
8 aggregator.processor.inc _aggregator_characters($length)

Creates display text for teaser length option values.

Callback for drupal_map_assoc() within aggregator_form_aggregator_admin_form_alter().

1 string reference to '_aggregator_characters'

File

modules/aggregator/aggregator.processor.inc, line 134
Processor functions for the aggregator module.

Code

function _aggregator_characters($length) {
  return ($length == 0) ? t('Unlimited') : format_plural($length, '1 character', '@count characters');
}
Login or register to post comments