Commit 9db0fca7 authored by Gábor Hojtsy's avatar Gábor Hojtsy

#184694 by andremolnar: (regression) allow themes to override *_node_form...

#184694 by andremolnar: (regression) allow themes to override *_node_form forms by node type, not just generically
parent c015aa3d
......@@ -213,7 +213,7 @@ function node_form(&$form_state, $node) {
);
}
$form['#validate'][] = 'node_form_validate';
$form['#theme'] = 'node_form';
$form['#theme'] = array($node->type .'_node_form', 'node_form');
return $form;
}
......
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