Skip to content
Snippets Groups Projects
Commit 09787420 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent ba3d1231
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -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';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment