| Versions | |
|---|---|
| 4.7 – 6 | theme_aggregator_block_item( |
| 7 | theme_aggregator_block_item($variables) |
Returns HTML for an individual feed item for display in the block.
$variables An associative array containing:
drupal/
<?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";
}
?>