function aggregator_page_last

Page callback: Displays the most recent items gathered from any feed.

See also

aggregator_menu()

1 string reference to 'aggregator_page_last'
aggregator_menu in drupal/core/modules/aggregator/aggregator.module
Implements hook_menu().

File

drupal/core/modules/aggregator/aggregator.pages.inc, line 13
User page callbacks for the aggregator module.

Code

function aggregator_page_last() {
  drupal_add_feed('aggregator/rss', config('system.site')
    ->get('name') . ' ' . t('aggregator'));
  $items = aggregator_load_feed_items('sum');
  return _aggregator_page_list($items, arg(1));
}