function sheetnode_form_alter in Sheetnode 5
Same name and namespace in other branches
- 6 sheetnode.module \sheetnode_form_alter()
- 7.2 sheetnode.module \sheetnode_form_alter()
- 7 sheetnode.module \sheetnode_form_alter()
Implementation of hook_form_alter().
File
- ./
sheetnode.module, line 104
Code
function sheetnode_form_alter($form_id, &$form) {
if (isset($form['type']) && isset($form['type']['#value']) && $form['type']['#value'] == 'sheetnode') {
unset($form['preview']);
}
}