function theme_aggregator_block_item

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().

File

modules/aggregator/aggregator.module, line 728

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.