From 5bbbf10ba84042b8576d67576d98922c0063c6d6 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 6 Apr 2007 13:27:23 +0000 Subject: - Patch #130987 by merlinofchaos: added theme registry for easier themability. --- modules/aggregator/aggregator.module | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'modules/aggregator') diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 230810bd6..e4ce0cc1f 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -25,6 +25,29 @@ function aggregator_help($section) { } } +/** + * Implementation of hook_theme() + */ +function aggregator_theme() { + return array( + 'aggregator_page_list' => array( + 'arguments' => array('form' => NULL), + ), + 'aggregator_feed' => array( + 'arguments' => array('feed' => NULL), + ), + 'aggregator_block_item' => array( + 'arguments' => array('item' => NULL, 'feed' => 0), + ), + 'aggregator_summary_item' => array( + 'arguments' => array('item' => NULL), + ), + 'aggregator_page_item' => array( + 'arguments' => array('item' => NULL), + ), + + ); + /** * Implementation of hook_menu(). */ -- cgit v1.2.3