Posted By

tgbdad on 11/19/10


drupal hookformalter

Versions (?)

Suppress input format options on node form

 / Published in: PHP

Suppress the input format section of a node form when you don't really want users (even admin) to change it. Particularly handy for uncluttering forms with lots of CCK fields on them.

  1. $form['field_fieldname'][0]['format']['#access'] = 0;

Report this snippet  

You need to login to post a comment.