function _aggregator_items

_aggregator_items($count)

Helper function for drupal_map_assoc.

Parameters

$count: Items count.

Return value

A string that is plural-formatted as "@count items".

File

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

Code

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

© 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!aggregator!aggregator.module/function/_aggregator_items/7.x