theme_aggregator_block_item

Definition

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

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.

Code

<?php
function theme_aggregator_block_item($item, $feed = 0) {

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

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.