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

#314244 follow-up by nedjo: Remove op for prepare translation.

parent d59ba41f
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
......@@ -199,7 +199,7 @@ function translation_nodeapi_prepare(&$node, $teaser, $page) {
$node->title = $node->translation_source->title;
$node->body = $node->translation_source->body;
// Let every module add custom translated fields.
node_invoke_nodeapi($node, 'prepare translation');
node_invoke_nodeapi($node, 'prepare_translation');
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment