theme_aggregator_block_item

Definition

theme_aggregator_block_item($item, $feed = 0)
drupal/modules/aggregator/aggregator.module, line 992

Description

Format an individual feed item for display in the block.

ingroup themeable

Parameters

$item The item to be displayed.

$feed Not used.

Return value

The item HTML.

Related topics

Namesort iconDescription
Default theme implementationsFunctions and templates that present output to the user, and can be implemented by themes.

Code

function theme_aggregator_block_item($item, $feed = 0) {

  // Display the external link to the item.
  $output .= '<a href="' . check_url($item->link) . '">' . check_plain($item->title) . "</a>\n";

  return $output;
}