You are here

function filedepot_form_alter in filedepot 6

Same name and namespace in other branches
  1. 7 filedepot.module \filedepot_form_alter()

Implementation of hook_form_alter().

File

./filedepot.module, line 538
filedepot.module Filedepot: File Management Module developed by Nextide www.nextide.ca Full featured document managment module with a desktop application feel. Integrated role and user permissions to secure folders, automated notifications, Tag Cloud…

Code

function filedepot_form_alter(&$form, &$form_state, $form_id) {
  if ($form_id == 'filedepot_folder_node_form') {
    unset($form['revision_information']);
    unset($form['comment_settings']);
    unset($form['attachments']);
    unset($form['menu']);
    unset($form['author']);
    unset($form['options']);
  }
}