function _aggregator_items in Drupal 7
Same name and namespace in other branches
- 4 modules/aggregator.module \_aggregator_items()
- 5 modules/aggregator/aggregator.module \_aggregator_items()
- 6 modules/aggregator/aggregator.module \_aggregator_items()
Helper function for drupal_map_assoc.
Parameters
$count: Items count.
Return value
A string that is plural-formatted as "@count items".
1 string reference to '_aggregator_items'
- aggregator_form_aggregator_admin_form_alter in modules/
aggregator/ aggregator.processor.inc - Implements hook_form_aggregator_admin_form_alter().
File
- modules/
aggregator/ aggregator.module, line 788 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
function _aggregator_items($count) {
return format_plural($count, '1 item', '@count items');
}