Skip navigation
Help

_aggregator_items

6 aggregator.module _aggregator_items($count)
7 aggregator.module _aggregator_items($count)

Helper function for drupal_map_assoc.

Parameters

$count: Items count.

Return value

Plural-formatted "@count items"

1 string reference to '_aggregator_items'

File

drupal/modules/aggregator/aggregator.module, line 761
Used to aggregate syndicated content (RSS, RDF, and Atom).

Code

function _aggregator_items($count) {
  return format_plural($count, '1 item', '@count items');
}