summaryrefslogtreecommitdiff
path: root/modules/aggregator
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-23 22:24:19 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-10-23 22:24:19 +0000
commita7149821d61d00cfb62d5ab67cbc2a282d53d41a (patch)
treefa0022b756838f583c2641a84241de80fb177606 /modules/aggregator
parentf2d90e99fb1107d78291ab2899f9fdb08bdfa979 (diff)
downloadbrdo-a7149821d61d00cfb62d5ab67cbc2a282d53d41a.tar.gz
brdo-a7149821d61d00cfb62d5ab67cbc2a282d53d41a.tar.bz2
#600974 by effulgentsia, JohnAlbin, sun, and Damien Tournoud: Allow theme functions to take one argument without any hacks. NOTE: This is an API change in hook_theme().
Diffstat (limited to 'modules/aggregator')
-rw-r--r--modules/aggregator/aggregator.module18
1 files changed, 9 insertions, 9 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 096675dc9..cfbf83bb8 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -40,43 +40,43 @@ function aggregator_help($path, $arg) {
function aggregator_theme() {
return array(
'aggregator_wrapper' => array(
- 'arguments' => array('content' => NULL),
+ 'variables' => array('content' => NULL),
'file' => 'aggregator.pages.inc',
'template' => 'aggregator-wrapper',
),
'aggregator_categorize_items' => array(
- 'arguments' => array('form' => NULL),
+ 'render element' => 'form',
'file' => 'aggregator.pages.inc',
),
'aggregator_feed_source' => array(
- 'arguments' => array('feed' => NULL),
+ 'variables' => array('feed' => NULL),
'file' => 'aggregator.pages.inc',
'template' => 'aggregator-feed-source',
),
'aggregator_block_item' => array(
- 'arguments' => array('item' => NULL, 'feed' => 0),
+ 'variables' => array('item' => NULL, 'feed' => 0),
),
'aggregator_summary_items' => array(
- 'arguments' => array('summary_items' => NULL, 'source' => NULL),
+ 'variables' => array('summary_items' => NULL, 'source' => NULL),
'file' => 'aggregator.pages.inc',
'template' => 'aggregator-summary-items',
),
'aggregator_summary_item' => array(
- 'arguments' => array('item' => NULL),
+ 'variables' => array('item' => NULL),
'file' => 'aggregator.pages.inc',
'template' => 'aggregator-summary-item',
),
'aggregator_item' => array(
- 'arguments' => array('item' => NULL),
+ 'variables' => array('item' => NULL),
'file' => 'aggregator.pages.inc',
'template' => 'aggregator-item',
),
'aggregator_page_opml' => array(
- 'arguments' => array('feeds' => NULL),
+ 'variables' => array('feeds' => NULL),
'file' => 'aggregator.pages.inc',
),
'aggregator_page_rss' => array(
- 'arguments' => array('feeds' => NULL, 'category' => NULL),
+ 'variables' => array('feeds' => NULL, 'category' => NULL),
'file' => 'aggregator.pages.inc',
),
);