You are here

function patch_manager_settings_form in Patch manager 6

Same name and namespace in other branches
  1. 7 patch_manager.module \patch_manager_settings_form()

Configuration form for patches

1 string reference to 'patch_manager_settings_form'
patch_manager_menu in ./patch_manager.module
Implementation of hook_menu().

File

./patch_manager.module, line 203
patch_manager.module Patch manager provides developers with tools for managing patches.

Code

function patch_manager_settings_form() {
  $form = array();
  $form['patch_manager_path_patch'] = array(
    '#type' => 'textfield',
    '#title' => t('Patch binary path'),
    '#description' => t('Enter the full path to your systems patch binary.'),
    '#default_value' => variable_get('patch_manager_path_patch', '/usr/bin/patch'),
    '#validate' => array(
      'patch_manager_settings_form_validate',
    ),
    '#required' => TRUE,
  );
  return system_settings_form($form);
}