| 5 aggregator.module | theme_aggregator_block_item($item, $feed = 0) |
| 6 aggregator.module | theme_aggregator_block_item( |
| 7 aggregator.module | theme_aggregator_block_item($variables) |
| 8 aggregator.module | 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
1 theme call to theme_aggregator_block_item()
File
- modules/
aggregator/ aggregator.module, line 721 - Used to aggregate syndicated content (RSS, RDF, and Atom).
Code
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";
}
Login or register to post comments