_aggregator_items

Definition

_aggregator_items($count)
modules/aggregator/aggregator.module, line 926

Description

Helper function for drupal_map_assoc.

Parameters

$count Items count.

Return value

Plural-formatted "@count items"

Code

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

Drupal is a registered trademark of Dries Buytaert.