/ Published in: PHP

Replace *foo* with your module name
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function foo_form_alter(&$form, $form_state, $form_id) { if ($form['#id'] == 'node-form') { $form['body_field']['teaser_js']['#type'] = 'hidden'; $form['body_field']['teaser_include']['#type'] = 'hidden'; } } }
Comments
