function theme_aggregator_block_item

cis7 aggregator.module theme_aggregator_block_item($variables)
cle7 aggregator.module theme_aggregator_block_item($variables)
elmsmedia7 aggregator.module theme_aggregator_block_item($variables)
icor7 aggregator.module theme_aggregator_block_item($variables)
meedjum_blog7 aggregator.module theme_aggregator_block_item($variables)
mooc7 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()
aggregator_block_view in modules/aggregator/aggregator.module
Implements hook_block_view().
2 string references to the theme hook from theme_aggregator_block_item()

Note: this list is generated by looking for the string for this theme hook, so it may include some references that are not actually using this theme hook.

aggregator_block_view in modules/aggregator/aggregator.module
Implements hook_block_view().
aggregator_theme in modules/aggregator/aggregator.module
Implements hook_theme().

File

modules/aggregator/aggregator.module, line 720
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";
}