Adjust default number of visible rows in node body field.

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

Adjust the size of the body field window. For use in hook_form_alter().

Copy this code and paste it in your HTML
  1. $form['body_field']['body']['#rows'] = 6;

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.