diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-23 22:24:19 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-23 22:24:19 +0000 |
commit | a7149821d61d00cfb62d5ab67cbc2a282d53d41a (patch) | |
tree | fa0022b756838f583c2641a84241de80fb177606 /modules/field/field.api.php | |
parent | f2d90e99fb1107d78291ab2899f9fdb08bdfa979 (diff) | |
download | brdo-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/field/field.api.php')
-rw-r--r-- | modules/field/field.api.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/field/field.api.php b/modules/field/field.api.php index db37d8758..fcf78b36d 100644 --- a/modules/field/field.api.php +++ b/modules/field/field.api.php @@ -676,7 +676,7 @@ function hook_field_widget_error($element, $error) { * * @code * 'field_formatter_FORMATTER_NAME' => array( - * 'arguments' => array('element' => NULL), + * 'render_element' => 'element', * ) * @code * |