theme_aggregator_block_item

Versions
5 – 6
theme_aggregator_block_item($item, $feed = 0)
7
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

Code

drupal/modules/aggregator/aggregator.module, line 714

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

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.