You are here

function _option_nfs_path in Node and Comments Form Settings 6.3

Same name and namespace in other branches
  1. 6.2 includes/option_nfs_path.inc \_option_nfs_path()
  2. 7.3 includes/option_nfs_path.inc \_option_nfs_path()
  3. 7.2 includes/option_nfs_path.inc \_option_nfs_path()

Change the value for the submit button

There's no if here

File

includes/option_nfs_path.inc, line 8

Code

function _option_nfs_path(&$form, &$form_state, $settings, $node) {
  if ($settings['nfs_path'] == 1) {
    $form['path']['#access'] = FALSE;
  }
  return $form;
}