summaryrefslogtreecommitdiff
path: root/modules/node/node.api.php
diff options
context:
space:
mode:
Diffstat (limited to 'modules/node/node.api.php')
-rw-r--r--modules/node/node.api.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/node/node.api.php b/modules/node/node.api.php
index 98f31627d..1383773c1 100644
--- a/modules/node/node.api.php
+++ b/modules/node/node.api.php
@@ -411,7 +411,7 @@ function hook_node_build_alter($node, $teaser) {
if (isset($node->content['an_additional_field'])) {
// Change its weight.
$node->content['an_additional_field']['#weight'] = -10;
- );
+ }
// Add a #post_render callback to act on the rendered HTML of the node.
$node->content['#post_render'][] = 'my_module_node_post_render';