Suppress \"Split Summary at Cursor\" button on node form


/ Published in: PHP
Save to your folder(s)

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 hook_form_alter functions.)


Copy this code and paste it in your HTML
  1. $form['body_field']['teaser_js'] = array();
  2. $form['body_field']['teaser_include'] = array();

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.