theme_aggregator_block_item

Versions
mediamosa-21
theme_aggregator_block_item($variables)

Format an individual feed item for display in the block.

ingroup themeable

Parameters

$variables An associative array containing:

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

Return value

The item HTML.

Code

modules/aggregator/aggregator.module, line 716

<?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";
}
?>