Skip to content
Snippets Groups Projects
Commit ce5ff31c authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #963060 by boombatower: documentation problem with hook_view().

parent 4a5e9447
Branches
Tags
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
......@@ -1222,7 +1222,7 @@ function hook_view($node, $view_mode) {
}
$node->content['myfield'] = array(
'#value' => theme('mymodule_myfield', $node->myfield),
'#markup' => theme('mymodule_myfield', $node->myfield),
'#weight' => 1,
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment