From a7149821d61d00cfb62d5ab67cbc2a282d53d41a Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Fri, 23 Oct 2009 22:24:19 +0000 Subject: #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(). --- modules/simpletest/tests/common_test.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/simpletest/tests/common_test.module') diff --git a/modules/simpletest/tests/common_test.module b/modules/simpletest/tests/common_test.module index 8b6779463..cc8c22772 100644 --- a/modules/simpletest/tests/common_test.module +++ b/modules/simpletest/tests/common_test.module @@ -106,7 +106,7 @@ function common_test_drupal_alter_alter(&$data, &$arg2 = NULL, &$arg3 = NULL) { function common_test_theme() { return array( 'common_test_foo' => array( - 'arguments' => array('foo' => 'foo', 'bar' => 'bar'), + 'variables' => array('foo' => 'foo', 'bar' => 'bar'), ), ); } -- cgit v1.2.3