Commit 09787420 authored by webchick's avatar webchick

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

parent ba3d1231
......@@ -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';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment