function formdefaults_edit in Form Defaults 6.2
Same name and namespace in other branches
- 5.3 formdefaults.module \formdefaults_edit()
- 5 formdefaults.module \formdefaults_edit()
- 5.2 formdefaults.module \formdefaults_edit()
- 6 formdefaults.module \formdefaults_edit()
- 7 formdefaults.module \formdefaults_edit()
3 string references to 'formdefaults_edit'
- formdefaults_alterform in ./
formdefaults.module - Alters the form based on the form replacement items passed.
- formdefaults_form_alter in ./
formdefaults.module - implements hook_form_alter
- formdefaults_menu in ./
formdefaults.module - Implements hook_menu.
File
- ./
formdefaults.module, line 288
Code
function formdefaults_edit($formid = '', $field = '') {
if (!$field) {
return drupal_get_form('formdefaults_edit_form');
}
elseif ($formid) {
return drupal_get_form('formdefaults_edit_field');
}
else {
drupal_not_found();
}
}