theme_aggregator_block_item

  1. drupal
    1. 5
    2. 6
    3. 7
    4. 8
Versions
5 – 6 theme_aggregator_block_item($item, $feed = 0)
8 – 7 theme_aggregator_block_item($variables)

Returns HTML for an individual feed item for display in the block.

Parameters

$variables An associative array containing:

  • item: The item to be displayed.
  • feed: Not used.

Related topics

Code

modules/aggregator/aggregator.module, line 702

<?php
function theme_aggregator_block_item($variables) {
  // Display the external link to the item.
  return '<a href="' . check_url($variables['item']->link) . '">' . check_plain($variables['item']->title) . "</a>\n";
}
?>