#367214 follow-up by alienbrain and Berdir: Fix syntax error introduced in API documentation.

merge-requests/26/head
Angie Byron 2009-05-12 23:19:13 +00:00
parent ba3d12310f
commit 0978742089
1 changed files with 1 additions and 1 deletions

View File

@ -411,7 +411,7 @@ function hook_node_build_alter($node, $teaser) {
if (isset($node->content['an_additional_field'])) { if (isset($node->content['an_additional_field'])) {
// Change its weight. // Change its weight.
$node->content['an_additional_field']['#weight'] = -10; $node->content['an_additional_field']['#weight'] = -10;
); }
// Add a #post_render callback to act on the rendered HTML of the node. // Add a #post_render callback to act on the rendered HTML of the node.
$node->content['#post_render'][] = 'my_module_node_post_render'; $node->content['#post_render'][] = 'my_module_node_post_render';