function patch_manager_settings_form in Patch manager 7
Same name and namespace in other branches
- 6 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 - Implements hook_menu().
File
- ./
patch_manager.module, line 235 - Patch manager provides developers with tools for managing patches.
Code
function patch_manager_settings_form($form, &$form_state) {
$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);
}