Return to Snippet

Revision: 36184
at November 19, 2010 03:37 by tgbdad


Initial Code
$form['field_fieldname'][0]['format']['#access'] = 0;

Initial URL


Initial Description
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.

Initial Title
Suppress input format options on node form

Initial Tags
drupal

Initial Language
PHP