Posted By

tgbdad on 11/19/10


Tagged

drupal hookformalter


Versions (?)

Suppress "Split Summary at Cursor" button on node form


 / Published in: PHP
 

Suppress button to "split summary at cursor" on node bodies that are generally short and won't ever be displayed as teasers. (These lines go in hookformalter functions.)

  1. $form['body_field']['teaser_js'] = array();
  2. $form['body_field']['teaser_include'] = array();

Report this snippet  

You need to login to post a comment.