summaryrefslogtreecommitdiff
path: root/modules/node/node.api.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-12 23:19:13 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-05-12 23:19:13 +0000
commit09787420897868e203410efe4323106a47a40c15 (patch)
tree4ab349a89facce73399351d9fa516d1a80f8c749 /modules/node/node.api.php
parentba3d12310fd69f46325f0eace0c7fdd4dac81259 (diff)
downloadbrdo-09787420897868e203410efe4323106a47a40c15.tar.gz
brdo-09787420897868e203410efe4323106a47a40c15.tar.bz2
#367214 follow-up by alienbrain and Berdir: Fix syntax error introduced in API documentation.
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';